]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Move CSS declaration that wasn't inside the Reveal export mixin
authorGeoff Kimball <geoff@zurb.com>
Fri, 4 Dec 2015 22:48:25 +0000 (14:48 -0800)
committerGeoff Kimball <geoff@zurb.com>
Fri, 4 Dec 2015 22:48:25 +0000 (14:48 -0800)
scss/components/_reveal.scss

index d17170b9f83b91e419b58b312b94b9fc293266c1..7c887b8a89450c9d8ace2b8abb292792ad0b396c 100644 (file)
@@ -112,6 +112,10 @@ $reveal-overlay-background: rgba($black, 0.45) !default;
 }
 
 @mixin foundation-reveal {
+  body.is-reveal-open {
+    overflow: hidden;
+  }
+  
   // Overlay
   .reveal-overlay {
     @include reveal-overlay;
@@ -149,7 +153,3 @@ $reveal-overlay-background: rgba($black, 0.45) !default;
     }
   }
 }
-
-body.is-reveal-open {
-  overflow: hidden;
-}