]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
fix: do not add the scrollbar by default 11065/head
authorDaniel Ruf <daniel@daniel-ruf.de>
Thu, 15 Mar 2018 20:14:12 +0000 (21:14 +0100)
committerDaniel Ruf <daniel@daniel-ruf.de>
Thu, 15 Mar 2018 20:14:12 +0000 (21:14 +0100)
scss/components/_reveal.scss

index 897e7d5428fbf30fa69faf5729e680adf1e8646b..78f2d71e4131cee6d9a08f31a5640a4450ac2efd 100644 (file)
@@ -62,7 +62,7 @@ $reveal-overlay-background: rgba($black, 0.45) !default;
 
   display: none;
   background-color: $background;
-  overflow-y: scroll;
+  overflow-y: auto;
 }
 
 /// Adds base styles for a modal.
@@ -130,11 +130,7 @@ $reveal-overlay-background: rgba($black, 0.45) !default;
   html.is-reveal-open {
     position: fixed;
     width: 100%;
-    overflow-y: scroll;
-
-    body { // sass-lint:disable-line no-qualifying-elements
-      overflow: hidden;
-    }
+    overflow: hidden;
   }
 
   // Overlay