Fix iOS fullscreen scroll
This commit is contained in:
parent
080fb56d82
commit
181ff60329
@ -390,6 +390,12 @@ html, body {
|
|||||||
} */
|
} */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
html.is-ios {
|
||||||
|
//&, body {
|
||||||
|
position: fixed; // fix iOS fullscreen scroll
|
||||||
|
//}
|
||||||
|
}
|
||||||
|
|
||||||
@supports(padding: unquote('max(0px)')) {
|
@supports(padding: unquote('max(0px)')) {
|
||||||
html {
|
html {
|
||||||
padding: 0 unquote('min(16px, env(safe-area-inset-right))') 0 unquote('min(16px, env(safe-area-inset-left))');
|
padding: 0 unquote('min(16px, env(safe-area-inset-right))') 0 unquote('min(16px, env(safe-area-inset-left))');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user