Skip to content

Commit bf9eb81

Browse files
committed
Get rid of !important claims so that there is visual jump when hovering menu items
1 parent ceb7771 commit bf9eb81

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

frontend/src/global_styles/layout/_main_menu.sass

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ $arrow-left-width: 36px
3636
border-radius: var(--borderRadius-medium)
3737
@if $main-item
3838
border-width: 1px 1px 1px 5px
39-
padding-left: 8px !important
39+
padding-left: 8px
4040
@else
4141
border-width: 1px
4242

@@ -92,15 +92,15 @@ $arrow-left-width: 36px
9292
li a:not(.Button)
9393
// work around due to dom manipulation on document: ready:
9494
// this isn't scoped to .main-item-wrapper to avoid flickering
95-
padding-left: var(--main-menu-x-spacing)
95+
//padding-left: var(--main-menu-x-spacing)
9696
9797
&.toggler
9898
// explicitly reset to zero to avoid selector precedence problems
9999
padding-left: 0
100100

101101
.main-menu--children li a:not(.Button)
102102
// children have no icon so we need to push them right.
103-
padding-left: var(--main-menu-x-spacing) !important
103+
//padding-left: var(--main-menu-x-spacing)
104104
105105
a:not(.Button):not(.TreeViewItemContent)
106106
text-decoration: none

0 commit comments

Comments
 (0)