From 0fe1174a0bc87b9ffbba78d211a2510ccaefb030 Mon Sep 17 00:00:00 2001 From: vicrodh <103399283+vicrodh@users.noreply.github.com> Date: Tue, 10 Feb 2026 01:13:30 -0600 Subject: [PATCH] fix: move See All link below section title instead of beside it Wrap title + See All in a flex column group so the link sits directly under the section heading, left-aligned. Remove margin-left: auto that was pushing it to the right edge. --- src/lib/components/views/HomeView.svelte | 67 +++++++++++++++--------- 1 file changed, 42 insertions(+), 25 deletions(-) diff --git a/src/lib/components/views/HomeView.svelte b/src/lib/components/views/HomeView.svelte index 927cb1d7b..3c6732610 100644 --- a/src/lib/components/views/HomeView.svelte +++ b/src/lib/components/views/HomeView.svelte @@ -896,10 +896,12 @@ {:else if newReleases.length > 0} {#snippet header()} -

{$t('home.newReleases')}

- {#if onNavigateNewReleases} - - {/if} +
+

{$t('home.newReleases')}

+ {#if onNavigateNewReleases} + + {/if} +
{/snippet} {#snippet children()} {#each newReleases as album} @@ -945,10 +947,12 @@ {:else if pressAwards.length > 0} {#snippet header()} -

{$t('home.pressAwards')}

- {#if onNavigatePressAccolades} - - {/if} +
+

{$t('home.pressAwards')}

+ {#if onNavigatePressAccolades} + + {/if} +
{/snippet} {#snippet children()} {#each pressAwards as album} @@ -994,10 +998,12 @@ {:else if mostStreamed.length > 0} {#snippet header()} -

{$t('home.popularAlbums')}

- {#if onNavigateTopAlbums} - - {/if} +
+

{$t('home.popularAlbums')}

+ {#if onNavigateTopAlbums} + + {/if} +
{/snippet} {#snippet children()} {#each mostStreamed as album} @@ -1043,10 +1049,12 @@ {:else if qobuzissimes.length > 0} {#snippet header()} -

{$t('home.qobuzissimes')}

- {#if onNavigateQobuzissimes} - - {/if} +
+

{$t('home.qobuzissimes')}

+ {#if onNavigateQobuzissimes} + + {/if} +
{/snippet} {#snippet children()} {#each qobuzissimes as album} @@ -1092,10 +1100,12 @@ {:else if editorPicks.length > 0} {#snippet header()} -

{$t('home.editorPicks')}

- {#if onNavigateAlbumsOfTheWeek} - - {/if} +
+

{$t('home.editorPicks')}

+ {#if onNavigateAlbumsOfTheWeek} + + {/if} +
{/snippet} {#snippet children()} {#each editorPicks as album} @@ -1191,10 +1201,12 @@ {:else if essentialDiscography.length > 0} {#snippet header()} -

{$t('home.essentialDiscography')}

- {#if onNavigateIdealDiscography} - - {/if} +
+

{$t('home.essentialDiscography')}

+ {#if onNavigateIdealDiscography} + + {/if} +
{/snippet} {#snippet children()} {#each essentialDiscography as album (album.id)} @@ -1760,6 +1772,12 @@ margin: 0; } + .section-header-group { + display: flex; + flex-direction: column; + gap: 2px; + } + .see-all-link { display: inline-flex; align-items: center; @@ -1772,7 +1790,6 @@ cursor: pointer; padding: 0; white-space: nowrap; - margin-left: auto; transition: color 150ms ease; }