fix(ui): change underlines to default browser style (#38819) (#38823)

Remove all underline style customization on links, letting the browser defaults apply
This commit is contained in:
silverwind
2026-08-08 01:49:41 +00:00
committed by GitHub
parent fe252be0ae
commit 94011d2850
-2
View File
@@ -273,12 +273,10 @@ a {
color: var(--color-primary); color: var(--color-primary);
cursor: pointer; cursor: pointer;
text-decoration-line: none; text-decoration-line: none;
text-decoration-skip-ink: all;
} }
a:hover { a:hover {
text-decoration-line: underline; text-decoration-line: underline;
text-underline-position: under; /* necessary for CJK fonts, otherwise, default "auto" makes the underline cross-over the CJK text bottom */
} }
/* a = always colored, underlined on hover */ /* a = always colored, underlined on hover */