Skip to content

Commit

Permalink
Adjusts hover and active state styling for second round of revision
Browse files Browse the repository at this point in the history
  • Loading branch information
oisa committed Dec 12, 2024
1 parent 5b97f5a commit f45019e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/components/main-nav/_main-nav.scss
Original file line number Diff line number Diff line change
Expand Up @@ -90,11 +90,11 @@
&.active > a > span:first-of-type::after {
content: '';
position: absolute;
bottom: -4px;
bottom: 0;
left: 0;
width: calc(100%);
height: 2px;
background-color: var(--nsw-brand-accent);
background-color: var(--nsw-brand-dark);
}
}
}
Expand All @@ -118,11 +118,11 @@
&.active > span:first-of-type::after {
content: '';
position: absolute;
bottom: -4px;
bottom: 0;
left: 0;
width: calc(100%);
height: 2px;
background-color: var(--nsw-brand-accent);
background-color: var(--nsw-brand-dark);
}

&.active .nsw-material-icons {
Expand Down Expand Up @@ -166,7 +166,7 @@
span:first-of-type::after {
content: '';
position: absolute;
bottom: -4px;
bottom: 0;
left: 0;
width: calc(100%);
height: 2px;
Expand Down

0 comments on commit f45019e

Please sign in to comment.