Skip to content

Commit

Permalink
Fix visited links in dark side navigation
Browse files Browse the repository at this point in the history
  • Loading branch information
bartaz committed Feb 28, 2022
1 parent 6fb830a commit c87b7b6
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions scss/_patterns_side-navigation.scss
Original file line number Diff line number Diff line change
Expand Up @@ -431,11 +431,11 @@
border-color: $color-sidenav-list-border;
}

%theme-side-navigation__list {
.p-side-navigation__list::after {
background: $color-sidenav-list-border;
}

%theme-side-navigation__link {
.p-side-navigation__link {
&,
&:visited {
color: $color-sidenav-text-default;
Expand All @@ -462,14 +462,6 @@
}
}

.p-side-navigation__list::after {
@extend %theme-side-navigation__list;
}

.p-side-navigation__link {
@extend %theme-side-navigation__link;
}

.p-side-navigation__item--title,
.p-side-navigation__item--title .p-side-navigation__link {
color: $color-sidenav-text-active;
Expand Down

0 comments on commit c87b7b6

Please sign in to comment.