Explorar o código

fixe ios wrong height:100vh #831

bach %!s(int64=2) %!d(string=hai) anos
pai
achega
a1c3382a6c
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      assets/css/base/_layout.scss

+ 4 - 0
assets/css/base/_layout.scss

@@ -20,6 +20,10 @@ body{
   width: 100vw;
   max-width: 1920px;
   height:100vh;
+  // ? https://www.bram.us/2020/05/06/100vh-in-safari-on-ios/
+  @supports (-webkit-touch-callout: none) {
+    height: -webkit-fill-available;
+  }
   margin:0 auto;
   %layout-element{
     width:100vw;