Skip to content

Commit

Permalink
fix(vertical-nav): align icon and text of selected link with other links
Browse files Browse the repository at this point in the history
closes #293

This is a backport of c8b7490.
  • Loading branch information
kevinbuhmann committed Aug 26, 2022
1 parent e9a9c61 commit 182790a
Showing 1 changed file with 11 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,17 @@
$clr-use-custom-properties
);

border-left: $clr_baselineRem_3px solid var(--clr-nav-active-box-shadow-color);
position: relative;

&::before {
content: '';
position: absolute;
top: 0;
bottom: 0;
left: 0;
width: $clr_baselineRem_3px;
background: var(--clr-nav-active-box-shadow-color);
}

.nav-icon {
@include css-var(
Expand Down

0 comments on commit 182790a

Please sign in to comment.