Improve layout by making video cards larger and adjusting scroll buttons

Update netflix-grid.tsx to increase the width of video cards and resize navigation icons for scroll buttons.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 890577b1-c154-40a4-a177-a0c6d55320c3
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/8cc42625-c1f5-4e43-99bd-77f2c4dedee2/890577b1-c154-40a4-a177-a0c6d55320c3/2xHHKQn
This commit is contained in:
sebastjanartic 2025-09-01 20:07:27 +00:00
parent a51e45e7bc
commit 5d6e3464b0

View File

@ -249,10 +249,10 @@ function CategoryRow({ category, onVideoClick, hideScrollButtons = false }: Cate
onClick={() => scroll('left')}
onMouseEnter={() => startAutoScroll('left')}
onMouseLeave={stopAutoScroll}
className="absolute left-2 top-1/2 -translate-y-1/2 z-[40] bg-black/50 hover:bg-black/70 text-white border-none w-10 h-10 sm:w-12 sm:h-12 rounded-full transition-all duration-300 hidden md:flex items-center justify-center shadow-xl"
className="absolute left-2 top-1/2 -translate-y-1/2 z-[40] bg-black/70 hover:bg-black/90 text-white border-none w-12 h-12 sm:w-14 sm:h-14 rounded-full transition-all duration-300 hidden md:flex items-center justify-center shadow-2xl"
size="sm"
>
<ChevronLeft className="w-5 h-5" />
<ChevronLeft className="w-6 h-6" />
</Button>
)}
@ -262,10 +262,10 @@ function CategoryRow({ category, onVideoClick, hideScrollButtons = false }: Cate
onClick={() => scroll('right')}
onMouseEnter={() => startAutoScroll('right')}
onMouseLeave={stopAutoScroll}
className="absolute right-2 top-1/2 -translate-y-1/2 z-[40] bg-black/50 hover:bg-black/70 text-white border-none w-10 h-10 sm:w-12 sm:h-12 rounded-full transition-all duration-300 hidden md:flex items-center justify-center shadow-xl"
className="absolute right-2 top-1/2 -translate-y-1/2 z-[40] bg-black/70 hover:bg-black/90 text-white border-none w-12 h-12 sm:w-14 sm:h-14 rounded-full transition-all duration-300 hidden md:flex items-center justify-center shadow-2xl"
size="sm"
>
<ChevronRight className="w-5 h-5" />
<ChevronRight className="w-6 h-6" />
</Button>
)}
@ -278,7 +278,7 @@ function CategoryRow({ category, onVideoClick, hideScrollButtons = false }: Cate
{category.videos.map((video, index) => (
<div
key={video.id}
className="flex-shrink-0 w-[280px] relative group hover:z-30"
className="flex-shrink-0 w-[320px] relative group hover:z-30"
onMouseEnter={() => setClickedVideoId(video.id)}
>
{/* Top 10 Number overlay for first category */}