Skip to content

Commit

Permalink
Merge pull request #981 from helsingborg-stad/fix/menu-item-separator…
Browse files Browse the repository at this point in the history
…-better-targeting

fix: menu item separator better targeting
  • Loading branch information
NiclasNorin authored Nov 26, 2024
2 parents 5dd874c + 687821e commit 571072b
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 571072b

Please sign in to comment.