From: Jonathan Melville Date: Tue, 2 Aug 2016 15:55:33 +0000 (-0400) Subject: Fix iOS bug where opening a modal would cause the page to jump to top. X-Git-Tag: v6.2.4-rc1~8^2~1^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=904489171beb1ebd29cbc49ba3fade271db768f1;p=thirdparty%2Ffoundation%2Ffoundation-sites.git Fix iOS bug where opening a modal would cause the page to jump to top. --- diff --git a/scss/components/_reveal.scss b/scss/components/_reveal.scss index 35cc99ea6..b53a1f4ec 100644 --- a/scss/components/_reveal.scss +++ b/scss/components/_reveal.scss @@ -116,7 +116,7 @@ $reveal-overlay-background: rgba($black, 0.45) !default; // html gets this class only in iOS html.is-reveal-open, html.is-reveal-open body { - height: 100%; + min-height: 100%; overflow: hidden; user-select: none; }