diff --git a/src/components/pages/FoundationHeader.astro b/src/components/pages/FoundationHeader.astro index 7f8e1b9..8e59e6f 100644 --- a/src/components/pages/FoundationHeader.astro +++ b/src/components/pages/FoundationHeader.astro @@ -274,6 +274,14 @@ import ExternalIcon from "../../../public/img/icon-external.svg"; margin-inline-start: var(--space-2xs); } + .menu-item--level-1 > .is-active, + .menu-item--level-2 > .is-active { + text-decoration: underline; + text-decoration-color: currentColor; + text-decoration-thickness: 2px; + text-underline-offset: 8px; + } + @media screen and (max-width: 479px) { .site-links-wrapper { width: 100%; @@ -316,14 +324,6 @@ import ExternalIcon from "../../../public/img/icon-external.svg"; display: block; } - .menu-item--level-1 > .is-active { - border-inline-start: 2px solid var(--color-header-accent); - } - - .menu-item--level-2 > .is-active { - text-decoration: underline; - } - .switch-link:hover { background-color: var(--color-header-accent); } @@ -453,14 +453,6 @@ import ExternalIcon from "../../../public/img/icon-external.svg"; .site-nav__toggle { display: none; } - - .menu-item--level-1 > .is-active, - .menu-item--level-2 > .is-active { - text-decoration: underline; - text-decoration-color: currentColor; - text-decoration-thickness: 2px; - text-underline-offset: 8px; - } }