From 5d6e3464b066d7fb53ef0e26893990952fb60d89 Mon Sep 17 00:00:00 2001 From: sebastjanartic <45803536-sebastjanartic@users.noreply.replit.com> Date: Mon, 1 Sep 2025 20:07:27 +0000 Subject: [PATCH] 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 --- client/src/components/netflix-grid.tsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/client/src/components/netflix-grid.tsx b/client/src/components/netflix-grid.tsx index 07a852c..57b33ee 100644 --- a/client/src/components/netflix-grid.tsx +++ b/client/src/components/netflix-grid.tsx @@ -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" > - + )} @@ -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" > - + )} @@ -278,7 +278,7 @@ function CategoryRow({ category, onVideoClick, hideScrollButtons = false }: Cate {category.videos.map((video, index) => (
setClickedVideoId(video.id)} > {/* Top 10 Number overlay for first category */}