Skip to content

Commit a613441

Browse files
authored
Fix hvr-underline on submenus (#97)
1 parent b98f405 commit a613441

File tree

1 file changed

+15
-5
lines changed

1 file changed

+15
-5
lines changed

src/assets/scss/boldgrid/navigation/_base.scss

+15-5
Original file line numberDiff line numberDiff line change
@@ -808,10 +808,20 @@
808808
}
809809
}
810810

811-
li.menu-item[class*="hvr-underline"]:not(.hvr-underline-reveal) a:not( .button-primary):not(.button-secondary ) {
812-
transform: unset;
813-
overflow: unset;
814-
&:before {
815-
bottom: -2.5px;
811+
li.menu-item[class*="hvr-underline"] {
812+
> a:not( .button-primary):not( .button-secondary ) {
813+
&:before {
814+
z-index: 1;
815+
}
816+
}
817+
&:not(.hvr-underline-reveal) a:not( .button-primary):not(.button-secondary ) {
818+
transform: unset;
819+
overflow: unset;
820+
&:before {
821+
bottom: -2.5px;
822+
}
816823
}
817824
}
825+
826+
827+

0 commit comments

Comments
 (0)