From ed4395392b524e95f8a1bab98c8dcc05f0e13d15 Mon Sep 17 00:00:00 2001 From: vicrodh <103399283+vicrodh@users.noreply.github.com> Date: Sun, 8 Feb 2026 13:28:54 -0600 Subject: [PATCH] fix(ui): fix artist-link button reset for proper ticker animation Add display:block, font:inherit, appearance:none to ensure the button renders identically to the div variant. Without font:inherit, buttons use the UA stylesheet font-family which causes text width measurement mismatches and breaks the overflow detection for the ticker. --- src/lib/components/AlbumCard.svelte | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/lib/components/AlbumCard.svelte b/src/lib/components/AlbumCard.svelte index fa418e2b1..aea808fa3 100644 --- a/src/lib/components/AlbumCard.svelte +++ b/src/lib/components/AlbumCard.svelte @@ -636,13 +636,18 @@ } .artist.artist-link { + display: block; + appearance: none; + -webkit-appearance: none; background: none; border: none; padding: 0; margin: 0; + font: inherit; text-align: left; width: 100%; cursor: pointer; + color: var(--text-muted); } .artist.artist-link:hover {