]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Fix iOS bug where opening a modal would cause the page to jump to top. 9076/head
authorJonathan Melville <jonathan@jonathanmelville.com>
Tue, 2 Aug 2016 15:55:33 +0000 (11:55 -0400)
committerJonathan Melville <jonathan@jonathanmelville.com>
Tue, 2 Aug 2016 16:44:03 +0000 (12:44 -0400)
scss/components/_reveal.scss

index 35cc99ea6f5900bbeeac40476f0a60a8a25b30c9..b53a1f4ec57b2f15853e245a8a4d9d764ab7cc4e 100644 (file)
@@ -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;
   }