Skip to content

Commit

Permalink
fix: menu item separator better targeting
Browse files Browse the repository at this point in the history
  • Loading branch information
NiclasNorin committed Nov 26, 2024
1 parent 5dd874c commit 687821e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions source/sass/component/_nav.scss
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,9 @@ $c-nav-h-font-size: var(--c-nav-h-font-size) !default;
}

&.c-nav__item--separator {
background-color: $color-primary-contrasting;
.c-nav__item-wrapper {
background-color: $color-primary-contrasting;
}

.c-nav__link .c-nav__text{
color: $color-primary;
Expand Down Expand Up @@ -255,7 +257,7 @@ $c-nav-h-font-size: var(--c-nav-h-font-size) !default;
}

&.c-nav__item--separator {
.c-nav__text{
.c-nav__text {
color: $color-primary;
}
}
Expand Down

0 comments on commit 687821e

Please sign in to comment.