Skip to content

Commit 8a724a4

Browse files
authored
Merge pull request #23637 from opf/bug/dream-723-menu-elements-jump-on-hover
[DREAM-723] Menu elements jump on hover
2 parents 519964d + 29c4b91 commit 8a724a4

1 file changed

Lines changed: 1 addition & 8 deletions

File tree

frontend/src/global_styles/layout/_main_menu.sass

Lines changed: 1 addition & 8 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

@@ -90,18 +90,11 @@ $arrow-left-width: 36px
9090

9191
// -------------------- MAIN menu items ---------------------------
9292
li a:not(.Button)
93-
// work around due to dom manipulation on document: ready:
94-
// this isn't scoped to .main-item-wrapper to avoid flickering
95-
padding-left: var(--main-menu-x-spacing)
9693

9794
&.toggler
9895
// explicitly reset to zero to avoid selector precedence problems
9996
padding-left: 0
10097

101-
.main-menu--children li a:not(.Button)
102-
// children have no icon so we need to push them right.
103-
padding-left: var(--main-menu-x-spacing) !important
104-
10598
a:not(.Button):not(.TreeViewItemContent)
10699
text-decoration: none
107100
line-height: var(--main-menu-item-height)

0 commit comments

Comments
 (0)