From 688afa2546c232f36f37f1bca111bead10444e39 Mon Sep 17 00:00:00 2001 From: lashman Date: Sat, 11 Apr 2026 22:59:04 +0300 Subject: [PATCH] discover page layout fixes: full-width hero, no scrollbar, taller tiles, no collapse on tab switch, unclipped glow --- src/components/discover/BrowseGrid.tsx | 4 ++-- src/components/discover/DecadeStrip.tsx | 2 +- src/components/discover/MoodChips.tsx | 2 +- src/components/discover/TonightHero.tsx | 4 ++-- src/pages/DiscoverPage.tsx | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/components/discover/BrowseGrid.tsx b/src/components/discover/BrowseGrid.tsx index 249f00a..a6eb4e5 100644 --- a/src/components/discover/BrowseGrid.tsx +++ b/src/components/discover/BrowseGrid.tsx @@ -146,7 +146,7 @@ function Tile({ whileTap={{ scale: 0.98 }} transition={{ duration: 0.18, ease: [0.16, 1, 0.3, 1] }} aria-pressed={active} - className={`group relative w-full aspect-[7/4] rounded-xl overflow-hidden border text-left focus-ring transition-colors ${ + className={`group relative w-full min-h-[136px] rounded-xl border text-left focus-ring transition-colors ${ active ? 'border-accent/55' : 'border-border hover:border-border-strong' }`} style={{ background: tileBackground(v.hue) }} @@ -166,7 +166,7 @@ function Tile({

{tile.label}

-

+

{tile.subtitle}

diff --git a/src/components/discover/DecadeStrip.tsx b/src/components/discover/DecadeStrip.tsx index 1886f2d..787d763 100644 --- a/src/components/discover/DecadeStrip.tsx +++ b/src/components/discover/DecadeStrip.tsx @@ -62,7 +62,7 @@ export default function DecadeStrip({ kind, active, onChange }: Props) { ))} - + {active && ( m.id === moodId) if (!mood) return null return ( - + -
+
diff --git a/src/pages/DiscoverPage.tsx b/src/pages/DiscoverPage.tsx index 430fb91..1ba50bb 100644 --- a/src/pages/DiscoverPage.tsx +++ b/src/pages/DiscoverPage.tsx @@ -82,7 +82,7 @@ export default function DiscoverPage() { } return ( -
+