From 6c0bf1163a2ec62f7b82641615bf8094431be058 Mon Sep 17 00:00:00 2001 From: karland Date: Tue, 1 Apr 2014 16:49:37 +0200 Subject: [PATCH] Fix: Modal does not have background outside viewport on small medials 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 | 1 - 1 file changed, 1 deletion(-) diff --git a/scss/foundation/components/_reveal.scss b/scss/foundation/components/_reveal.scss index bcd4919b4..c4a483290 100644 --- a/scss/foundation/components/_reveal.scss +++ b/scss/foundation/components/_reveal.scss @@ -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} { -- 2.47.2