]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Reveal: adds @include breakpoint(small) to set width to 100vw, maybe a better way...
authorChris Oyler <christopher.oyler@gmail.com>
Thu, 28 Jan 2016 21:52:55 +0000 (13:52 -0800)
committerChris Oyler <christopher.oyler@gmail.com>
Thu, 28 Jan 2016 21:52:55 +0000 (13:52 -0800)
scss/components/_reveal.scss

index 88a9df7bb768f4c713ffffd58343608a5b3e7674..de9b21699dfa68b622690dcecbeab072b636495b 100644 (file)
@@ -138,7 +138,10 @@ $reveal-overlay-background: rgba($black, 0.45) !default;
     @include reveal-modal-width($reveal-width);
     position: absolute;
     overflow-y: auto;
-
+    
+    @include breakpoint(small) {
+      width: 100vw;
+    }
     // Placeholder selector for medium-and-up modals
     // Prevents duplicate CSS when defining multiple Reveal sizes
     @include breakpoint(medium) {