From f45019e581132b1cea82f32ef1597705e16b6ae2 Mon Sep 17 00:00:00 2001 From: Jim Carlton Date: Thu, 12 Dec 2024 13:05:45 +1100 Subject: [PATCH] Adjusts hover and active state styling for second round of revision --- src/components/main-nav/_main-nav.scss | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/components/main-nav/_main-nav.scss b/src/components/main-nav/_main-nav.scss index 0290e688..414f45cf 100644 --- a/src/components/main-nav/_main-nav.scss +++ b/src/components/main-nav/_main-nav.scss @@ -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); } } } @@ -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 { @@ -166,7 +166,7 @@ span:first-of-type::after { content: ''; position: absolute; - bottom: -4px; + bottom: 0; left: 0; width: calc(100%); height: 2px;