diff --git a/src/lib/components/views/SearchView.svelte b/src/lib/components/views/SearchView.svelte index 4bec46184..5dfc165d7 100644 --- a/src/lib/components/views/SearchView.svelte +++ b/src/lib/components/views/SearchView.svelte @@ -529,8 +529,11 @@
{:else}
@@ -1305,7 +1319,16 @@ .most-popular { display: flex; flex-direction: column; - align-items: center; + } + + .most-popular-wrapper { + display: flex; + justify-content: center; + width: 100%; + } + + .most-popular .section-header { + width: 100%; } .most-popular h3 { @@ -1316,8 +1339,6 @@ display: flex; align-items: center; gap: 8px; - align-self: flex-start; - width: 100%; } @@ -1476,37 +1497,56 @@ .view-more-card { width: 160px; min-width: 160px; - height: 220px; + flex-shrink: 0; + display: flex; + flex-direction: column; + gap: 8px; + } + + .view-more-cover { + width: 160px; + height: 160px; display: flex; align-items: center; justify-content: center; background-color: var(--bg-secondary); border: 2px dashed var(--bg-tertiary); - border-radius: 12px; + border-radius: 8px; cursor: pointer; transition: all 150ms ease; - flex-shrink: 0; } - .view-more-card:hover { + .view-more-cover:hover { background-color: var(--bg-tertiary); border-color: var(--accent-primary); } - .view-more-content { + .view-more-label { display: flex; flex-direction: column; align-items: center; - gap: 8px; + gap: 4px; color: var(--text-muted); font-size: 14px; font-weight: 500; } - .view-more-card:hover .view-more-content { + .view-more-cover:hover .view-more-label { color: var(--accent-primary); } + .view-more-info { + width: 160px; + padding: 0 4px; + } + + .view-more-text { + font-size: 12px; + color: var(--text-muted); + line-height: 1.3; + display: block; + } + .tracks-section { width: 100%; }