diff --git a/src/routes/admin/tags/+page.svelte b/src/routes/admin/tags/+page.svelte index b258338..9a540ef 100644 --- a/src/routes/admin/tags/+page.svelte +++ b/src/routes/admin/tags/+page.svelte @@ -82,7 +82,8 @@ {tag.post_count} @@ -215,17 +216,40 @@ color: var(--text-muted, rgba(0, 0, 0, 0.6)); } + .badge-link, + .badge-empty { + display: inline-flex; + align-items: center; + justify-content: center; + min-width: 24px; + height: 20px; + line-height: 1; + vertical-align: middle; + box-sizing: border-box; + } + .badge-link { color: var(--accent-color, #419b38); text-decoration: none; cursor: pointer; font-weight: 600; - transition: all 0.2s ease; + opacity: 1 !important; + transition: + background-color 0.15s ease, + color 0.15s ease; } - .badge-link:hover { + .badge-link:hover, + .badge-link:focus-visible { background-color: var(--accent-color, #419b38); color: #ffffff; + opacity: 1 !important; + text-decoration: none; + outline: none; + } + + .badge-link:focus-visible { + box-shadow: 0 0 0 2px rgba(65, 155, 56, 0.4); } .badge-empty {