diff --git a/styles/components/heatmap.ts b/styles/components/heatmap.ts index 3f337e9..d089086 100644 --- a/styles/components/heatmap.ts +++ b/styles/components/heatmap.ts @@ -85,7 +85,6 @@ export const activity = css` // 动态的主要内容 > .flex-item-main { gap: 8px !important; - text-underline-offset: 0.2rem; // 动态的标题 > div:not([class]) { display: flex; diff --git a/styles/components/packages.ts b/styles/components/packages.ts index a3780a5..fd336f3 100644 --- a/styles/components/packages.ts +++ b/styles/components/packages.ts @@ -35,7 +35,6 @@ export const packagesList = css` font-size: 12px; a { text-decoration: underline; - text-underline-offset: 3px; } } } diff --git a/styles/public/base.ts b/styles/public/base.ts index 98a2214..4fc6bbe 100644 --- a/styles/public/base.ts +++ b/styles/public/base.ts @@ -4,4 +4,7 @@ export const body = css` body { line-height: 18px; } + a { + text-underline-offset: 0.2rem; + } `;