]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Prevent FOUC before responsive menu plugin loads, fixes #7252
authorGeoff Kimball <geoff@zurb.com>
Mon, 14 Dec 2015 17:47:58 +0000 (09:47 -0800)
committerGeoff Kimball <geoff@zurb.com>
Mon, 14 Dec 2015 17:47:58 +0000 (09:47 -0800)
scss/components/_menu.scss

index 8acd23b554551e1d1f4f40e43c8dd542d75df39f..2c47a9f88628d575fc94499876abbdb2fc643aa1 100644 (file)
@@ -210,4 +210,9 @@ $menu-expand-max: 6 !default;
   .menu-text {
     @include menu-text;
   }
+
+  // Prevent FOUC when using the Responsive Menu plugin
+  .no-js [data-responsive-menu] ul {
+    display: none;
+  }
 }