diff options
| author | Eltrac <hi@guhub.cn> | 2025-07-17 11:25:10 +0800 |
|---|---|---|
| committer | Eltrac <hi@guhub.cn> | 2025-07-17 11:25:10 +0800 |
| commit | ec41236bc88a0762656413c38044ffa256bd93cb (patch) | |
| tree | 2d6f685fbe9ebb998e29dfcc9d1db9289238c1fe /layouts/_shortcodes/link.html | |
| parent | 1160eda3a7de8ffaf1562e65187cec783081d491 (diff) | |
refactor: avoid using straight value in UnoCSS
Diffstat (limited to 'layouts/_shortcodes/link.html')
| -rw-r--r-- | layouts/_shortcodes/link.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/_shortcodes/link.html b/layouts/_shortcodes/link.html index abd1b1aa..9f7ea3e5 100644 --- a/layouts/_shortcodes/link.html +++ b/layouts/_shortcodes/link.html @@ -7,7 +7,7 @@ </a> {{ else }} <a href="{{ .Get "link" }}" target="_blank" - class="block w-[calc(50%_-_1rem)] rounded-[1rem] box-border px-[1.5rem]" + class="block w-[calc(50%_-_1rem)] rounded-4 box-border px-6" style="background-color: var(--block-background-color); color: var(--text-color);text-decoration: none;"> <h3>{{ .Get "title" }}</h3> |
