Skip to content

Commit 1a0f3d6

Browse files
committed
refactor(Sidebar): add !important to force hiding element when the sidebar is in narrow mode.
1 parent bdd0447 commit 1a0f3d6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scss/sidebar/_sidebar-narrow.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@
4343
.nav-group.show .nav-group-items,
4444
.sidebar-form {
4545
height: 0 !important; // stylelint-disable-line declaration-no-important
46-
padding: 0;
47-
margin: 0;
46+
padding: 0 !important; // stylelint-disable-line declaration-no-important
47+
margin: 0 !important; // stylelint-disable-line declaration-no-important
4848
visibility: hidden;
4949
opacity: 0;
5050
}

0 commit comments

Comments
 (0)