Skip to content

Commit fb7361e

Browse files
mustafa-sayyedsidvishnoi
authored andcommitted
fix: remove identical styling
1 parent da3ec17 commit fb7361e

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

src/components/pages/FoundationHeader.astro

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,8 @@ import ExternalIcon from "../../../public/img/icon-external.svg";
295295
.menu-item--level-2 > .is-active {
296296
text-decoration: underline;
297297
text-decoration-color: currentColor;
298+
text-decoration-thickness: 2px;
299+
text-underline-offset: 8px;
298300
}
299301

300302
@media screen and (max-width: 479px) {
@@ -339,12 +341,6 @@ import ExternalIcon from "../../../public/img/icon-external.svg";
339341
display: block;
340342
}
341343

342-
.menu-item--level-1 > .is-active,
343-
.menu-item--level-2 > .is-active {
344-
text-decoration-thickness: 1.5px;
345-
text-underline-offset: 5px;
346-
}
347-
348344
.switch-link:hover {
349345
background-color: var(--color-header-accent);
350346
}
@@ -475,11 +471,6 @@ import ExternalIcon from "../../../public/img/icon-external.svg";
475471
display: none;
476472
}
477473

478-
.menu-item--level-1 > .is-active,
479-
.menu-item--level-2 > .is-active {
480-
text-decoration-thickness: 2px;
481-
text-underline-offset: 8px;
482-
}
483474
}
484475
</style>
485476

0 commit comments

Comments
 (0)