mirror of
https://github.com/go-gitea/gitea.git
synced 2026-08-09 06:52:23 +00:00
fix(ui): change underlines to default browser style (#38819)
Remove all underline style customization on links, letting the browser defaults apply
This commit is contained in:
@@ -273,12 +273,10 @@ a {
|
||||
color: var(--color-primary);
|
||||
cursor: pointer;
|
||||
text-decoration-line: none;
|
||||
text-decoration-skip-ink: all;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
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 */
|
||||
|
||||
@@ -18,7 +18,6 @@
|
||||
}
|
||||
.console a:hover {
|
||||
color: var(--color-primary);
|
||||
text-underline-position: auto; /* the global "a:hover" sets "under", which would shift the underline */
|
||||
}
|
||||
|
||||
@keyframes blink-animation {
|
||||
|
||||
Reference in New Issue
Block a user