From f0fa6a1e26f3fc91b2cb3a46b82f936542db2b5e Mon Sep 17 00:00:00 2001 From: vicrodh <103399283+vicrodh@users.noreply.github.com> Date: Wed, 28 Jan 2026 22:56:30 -0600 Subject: [PATCH] fix(suggestions): prevent layout jump during animations with fixed height --- src/lib/components/PlaylistSuggestions.svelte | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/lib/components/PlaylistSuggestions.svelte b/src/lib/components/PlaylistSuggestions.svelte index 7a9f8a4ef..3775f3fd6 100644 --- a/src/lib/components/PlaylistSuggestions.svelte +++ b/src/lib/components/PlaylistSuggestions.svelte @@ -581,6 +581,9 @@ display: flex; flex-direction: column; gap: 2px; + /* Fixed height to prevent layout jump during add/dismiss animations */ + /* 6 rows × 56px (40px content + 16px padding) + 5 gaps × 2px = 346px */ + min-height: 346px; } .suggestion-row {