fix underline-offset

This commit is contained in:
lutinglt
2025-11-01 21:59:15 +08:00
parent 2901ef5fef
commit 925068c962

View File

@@ -5,6 +5,6 @@ export const body = css`
line-height: 18px; line-height: 18px;
} }
a { a {
text-underline-offset: 3.2px; text-underline-offset: 0.2rem; // 0.2rem 可以始终保持下划线不受 overflow: hidden 的影响
} }
`; `;