summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Reeves2016-04-26 17:05:46 (GMT)
committerScott Reeves2016-04-26 17:05:46 (GMT)
commitae233ac20df4c74ed9d23edd4d600f3622f7bbe8 (patch)
tree3fa5c14152d3b23fefbe1e9a4f5f7de226be7b35
parent0018b94fa186a8d2d1439f7a47385cbfac468bf0 (diff)
Issue #2661128 by meichr, kannan@kiluvai.com, Pnoi, emma.maria, dcrocks: Bartik - Responsive menu-toggle shows up in show mode after switching from mobile to pad or desktop display
-rw-r--r--core/themes/bartik/css/components/primary-menu.css10
1 files changed, 10 insertions, 0 deletions
diff --git a/core/themes/bartik/css/components/primary-menu.css b/core/themes/bartik/css/components/primary-menu.css
index 0451b8a..1132ae2 100644
--- a/core/themes/bartik/css/components/primary-menu.css
+++ b/core/themes/bartik/css/components/primary-menu.css
@@ -200,3 +200,13 @@ body:not(:target) .region-primary-menu .menu-toggle-target-show:target ~ .menu .
display: none;
}
}
+
+/**
+ * Ensures that the open mobile menu hides when the screen dimensions become
+ * 461px or wider.
+ */
+@media all and (min-width: 461px) {
+ body:not(:target) .region-primary-menu .menu-toggle-target-show:target ~ .menu-toggle--hide {
+ display: none;
+ }
+}