fix(archive): preserve button link text color on desktop

Exclude .button links from the nav unset rule and apply mobile button
spacing to anchor buttons so archive actions keep theme text color.
This commit is contained in:
Tommaso Casaburi
2026-06-10 16:47:31 +07:00
parent e9c729a9e3
commit b0193b34be
+6 -4
View File
@@ -24,8 +24,8 @@
text-transform: capitalize;
}
.desktopNavLinks a,
.desktopFooterButtons a {
.desktopNavLinks a:not([class~='button']),
.desktopFooterButtons a:not([class~='button']) {
all: unset;
}
@@ -36,7 +36,8 @@
margin-top: 5px;
}
.mobileNavLinks button {
.mobileNavLinks button,
.mobileNavLinks a[class~='button'] {
text-transform: capitalize;
margin: 5px 2px;
}
@@ -58,7 +59,8 @@
text-transform: capitalize;
}
.mobileFooterButtons button {
.mobileFooterButtons button,
.mobileFooterButtons a[class~='button'] {
text-transform: capitalize;
margin: 5px 2px;
}