From dd8ef9c888799c3dfa4575065cec12f416f2e5f4 Mon Sep 17 00:00:00 2001 From: silverwind Date: Fri, 7 Aug 2026 13:18:41 +0200 Subject: [PATCH] fix(ui): change underlines to default browser style (#38819) Remove all underline style customization on links, letting the browser defaults apply --- web_src/css/base.css | 2 -- web_src/css/features/console.css | 1 - 2 files changed, 3 deletions(-) diff --git a/web_src/css/base.css b/web_src/css/base.css index 49e3f94ab6..fdcf55848d 100644 --- a/web_src/css/base.css +++ b/web_src/css/base.css @@ -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 */ diff --git a/web_src/css/features/console.css b/web_src/css/features/console.css index 5ae0795c1d..c2e7b15a1c 100644 --- a/web_src/css/features/console.css +++ b/web_src/css/features/console.css @@ -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 {