From 5df92916db185f16320d4d3adaee944087502a4b Mon Sep 17 00:00:00 2001 From: John Cowen Date: Tue, 18 Feb 2020 17:05:45 +0000 Subject: [PATCH] ui: Be more specific with the display toggling checkboxes (#7309) --- ui-v2/app/styles/components/main-nav-horizontal/layout.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui-v2/app/styles/components/main-nav-horizontal/layout.scss b/ui-v2/app/styles/components/main-nav-horizontal/layout.scss index 18ebff588..4f3a58b10 100644 --- a/ui-v2/app/styles/components/main-nav-horizontal/layout.scss +++ b/ui-v2/app/styles/components/main-nav-horizontal/layout.scss @@ -1,7 +1,7 @@ -%main-nav-horizontal [type='checkbox'] ~ div { +%main-nav-horizontal > ul > li > [type='checkbox'] ~ div { display: none; } -%main-nav-horizontal [type='checkbox']:checked ~ div { +%main-nav-horizontal > ul > li > [type='checkbox']:checked ~ div { display: block; } %main-nav-horizontal [type='checkbox'] + label > * {