From e85fd18f89d1bd840ff3a1b267b20920584ab674 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 18ebff5884..4f3a58b103 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 > * {