Fix iOS fullscreen scroll

This commit is contained in:
morethanwords 2021-05-11 20:27:26 +04:00
parent 080fb56d82
commit 181ff60329

View File

@ -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))');