diff --git a/client/src/components/netflix-grid.tsx b/client/src/components/netflix-grid.tsx index d1e3631..6fc3858 100644 --- a/client/src/components/netflix-grid.tsx +++ b/client/src/components/netflix-grid.tsx @@ -136,9 +136,9 @@ function CategoryRow({ category, onVideoClick }: CategoryRowProps) { const scroll = (direction: 'left' | 'right') => { if (scrollRef.current) { - // Responsive scroll amount - wider cards on desktop + // Responsive scroll amount - smaller cards for Netflix style const isMobile = window.innerWidth < 768; - const scrollAmount = isMobile ? 240 : 336; // Mobile: 224px + gap, Desktop: 320px + gap + const scrollAmount = isMobile ? 180 : 280; // Mobile: 176px + gap, Desktop: 256px + gap const currentScroll = scrollRef.current.scrollLeft; const targetScroll = direction === 'left' ? currentScroll - scrollAmount @@ -179,14 +179,14 @@ function CategoryRow({ category, onVideoClick }: CategoryRowProps) { {/* Scrollable video row */}