From efe0f7143b6618fdc7ccf668577ae4e62e898fb3 Mon Sep 17 00:00:00 2001 From: vicrodh <103399283+vicrodh@users.noreply.github.com> Date: Fri, 30 Jan 2026 09:07:52 -0600 Subject: [PATCH] fix(favorites): full height layout and remove horizontal scrollbar - Add no-outer-scroll class when sidepanel mode is active - Set up proper flex container hierarchy for full height: - .favorites-view becomes flex column container - .content gets flex: 1 with min-height: 0 - ViewTransition wrapper gets flex: 1 via :global selector - Fix negative margins to match parent padding (was -32px, now -8px/-18px) - Reduce artist column width to 240px (matches LocalLibrary) - Fix album column right padding to 8px --- src/lib/components/views/FavoritesView.svelte | 27 +++++++++++++++---- 1 file changed, 22 insertions(+), 5 deletions(-) diff --git a/src/lib/components/views/FavoritesView.svelte b/src/lib/components/views/FavoritesView.svelte index 0d75f1094..cf0f11968 100644 --- a/src/lib/components/views/FavoritesView.svelte +++ b/src/lib/components/views/FavoritesView.svelte @@ -1014,7 +1014,7 @@ -
0} bind:this={scrollContainer}> +
0) || (activeTab === 'artists' && artistViewMode === 'sidepanel')} bind:this={scrollContainer}>
:global(.view-transition) { + flex: 1; + display: flex; + flex-direction: column; + min-height: 0; } .header { @@ -2700,19 +2717,19 @@ gap: 0; flex: 1; min-height: 0; - margin: 0 -32px; /* Negative margins to extend to edges */ + margin: 0 -8px 0 -18px; /* Negative margins to extend to edges (match parent padding) */ padding: 0; } .artist-column { - width: 280px; + width: 240px; flex-shrink: 0; display: flex; flex-direction: column; background: transparent; border-right: 1px solid var(--bg-tertiary); overflow: hidden; - padding-left: 32px; + padding-left: 18px; } .artist-column-header { @@ -2817,7 +2834,7 @@ flex-direction: column; min-width: 0; overflow: hidden; - padding: 0 32px 0 24px; + padding: 0 8px 0 24px; } .artist-albums-header {