From 925068c962702bb058a2d07f980b5079bea0cf3c Mon Sep 17 00:00:00 2001 From: lutinglt Date: Sat, 1 Nov 2025 21:59:15 +0800 Subject: [PATCH] fix underline-offset --- styles/public/base.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/styles/public/base.ts b/styles/public/base.ts index a8fc603..010e15c 100644 --- a/styles/public/base.ts +++ b/styles/public/base.ts @@ -5,6 +5,6 @@ export const body = css` line-height: 18px; } a { - text-underline-offset: 3.2px; + text-underline-offset: 0.2rem; // 0.2rem 可以始终保持下划线不受 overflow: hidden 的影响 } `;