Skip to content

Commit

Permalink
nav: Fix host switcher background split bug
Browse files Browse the repository at this point in the history
  • Loading branch information
garrett authored and jelly committed Dec 1, 2022
1 parent f259829 commit 5682160
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions pkg/shell/nav.scss
Original file line number Diff line number Diff line change
Expand Up @@ -581,8 +581,8 @@ $desktop: $phone + 1px;
}

// Use the "current" background for actions color when item is selected
:where(.pf-m-current + .nav-item-actions) {
--pf-c-nav__link--BackgroundColor: var(--pf-c-nav--m-dark__item--m-current--BackgroundColor);
.pf-m-current + .nav-item-actions {
background-color: var(--pf-c-nav__link--m-current--BackgroundColor);
}
}

Expand Down Expand Up @@ -751,7 +751,7 @@ $desktop: $phone + 1px;

// Redefine the background color for current links
.area-ct-subnav .pf-c-nav__item {
> :is(.pf-m-current, .pf-m-current + .nav-item-actions) {
> .pf-m-current, .pf-m-current + .nav-item-actions {
--pf-c-nav__link--m-current--BackgroundColor: var(--pf-global--BackgroundColor--dark-200);
}
}
Expand Down

0 comments on commit 5682160

Please sign in to comment.