Skip to content

Commit

Permalink
fix(styles): btp nav expander spanned state [ci visual] (#5061)
Browse files Browse the repository at this point in the history
  • Loading branch information
N1XUS authored Dec 19, 2023
1 parent 4d49c2e commit 7a54749
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions packages/styles/src/navigation.scss
Original file line number Diff line number Diff line change
Expand Up @@ -864,17 +864,21 @@ $navListContainerSubmenu: #{$block}__list-container--submenu;
.#{$navItemWithExpander} {
position: relative;

.#{$navLink} {
--fdNavigation_Link_Padding_Right: 2.1975rem;
}

.#{$navExpander} {
@include fd-set-position-right(var(--fdNavigation_Expander_Position_Right));

position: absolute;
z-index: 20;
}
}

&:not(.#{$block}--snapped) {
.#{$navItemWithExpander} {
.#{$navLink} {
--fdNavigation_Link_Padding_Right: 2.1975rem;
}
}
}
}

&.#{$navHorizontal} {
Expand Down

0 comments on commit 7a54749

Please sign in to comment.