]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Fix reveal overlay bug on some android browsers
authorKevin Ball <kmball11@gmail.com>
Wed, 14 Dec 2016 00:46:48 +0000 (16:46 -0800)
committerKevin Ball <kmball11@gmail.com>
Wed, 14 Dec 2016 00:46:48 +0000 (16:46 -0800)
scss/components/_reveal.scss

index c226a19a4ed63b250e8a8eda53281038d5d3ecdf..b9e46ba4797f3ce226e6a8c7acd8553a01619670 100644 (file)
@@ -57,6 +57,8 @@ $reveal-overlay-background: rgba($black, 0.45) !default;
 @mixin reveal-modal-base {
   @include disable-mouse-outline;
   z-index: $reveal-zindex + 1;
+  // Workaround android browser z-index bug
+  backface-visibility: hidden;
 
   display: none;
   padding: $reveal-padding;