mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user