]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
7548 prevent reveal scroll on iOS using position:fixed on html element 9763/head
authorGerard K. Cohen <gerardkcohen@users.noreply.github.com>
Thu, 9 Feb 2017 23:29:21 +0000 (15:29 -0800)
committerGerard K. Cohen <gerardkcohen@users.noreply.github.com>
Thu, 9 Feb 2017 23:29:21 +0000 (15:29 -0800)
scss/components/_reveal.scss

index 4b119462601b01656f15c168be0a86572fb1dfb7..8de7610ae2ffd03e11ee614db584ba0e84dd95e0 100644 (file)
@@ -123,6 +123,7 @@ $reveal-overlay-background: rgba($black, 0.45) !default;
   html.is-reveal-open body {
     min-height: 100%;
     overflow: hidden;
+    position: fixed;
     user-select: none;
   }