]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Fix: Modal does not have background outside viewport on small medials 4865/head
authorkarland <ulrich.anders@online.de>
Tue, 1 Apr 2014 14:49:37 +0000 (16:49 +0200)
committerkarland <ulrich.anders@online.de>
Tue, 1 Apr 2014 14:49:37 +0000 (16:49 +0200)
If the reval modal is larger then the viewport the background disappears
when scrolling the modal up. The cause is the the height: 100vh, that
limits the height of the modal to the viewport height.

scss/foundation/components/_reveal.scss

index bcd4919b476b19897a4930d72467400e9f4fe16a..c4a48329092578d169d0bbf3d584ca94474c93f1 100644 (file)
@@ -75,7 +75,6 @@ $close-reveal-modal-class: "close-reveal-modal" !default;
     top:0;
     #{$default-float}: 0;
     @media #{$small-only} {
-      height: 100vh;
       min-height:100vh;
     }
     @media #{$medium-up} {