ui: Be more specific with the display toggling checkboxes (#7309)

This commit is contained in:
John Cowen 2020-02-18 17:05:45 +00:00 committed by GitHub
parent 9977586746
commit 5df92916db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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 > * {