From 74a1b12b3bf0abaad23ce0bb91228937b57b1cc1 Mon Sep 17 00:00:00 2001 From: vicrodh <103399283+vicrodh@users.noreply.github.com> Date: Sun, 8 Feb 2026 13:20:26 -0600 Subject: [PATCH] fix(ui): revert badge to original padding, fix artist link overflow Restore quality badge to original values (padding 4px 6px, no line-height override). Fix artist-link button: replace all:unset with targeted button resets and width:100% so the button is constrained by its parent and overflow/text-overflow/ticker actually work. --- src/lib/components/AlbumCard.svelte | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/src/lib/components/AlbumCard.svelte b/src/lib/components/AlbumCard.svelte index f5ab4b12f..fa418e2b1 100644 --- a/src/lib/components/AlbumCard.svelte +++ b/src/lib/components/AlbumCard.svelte @@ -364,12 +364,11 @@ font-family: 'LINE Seed JP', var(--font-sans); font-size: 10px; font-weight: 100; - line-height: 1.2; color: var(--alpha-85); background: var(--alpha-10); border: 1px solid var(--alpha-15); border-radius: 4px; - padding: 2px 6px; + padding: 4px 6px; min-width: 90px; text-align: center; box-sizing: border-box; @@ -637,15 +636,12 @@ } .artist.artist-link { - all: unset; - display: block; - font-size: 13px; - font-weight: 400; - color: var(--text-muted); - line-height: 1.4; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; + background: none; + border: none; + padding: 0; + margin: 0; + text-align: left; + width: 100%; cursor: pointer; }