diff --git a/attached_assets/image_1756564625261.png b/attached_assets/image_1756564625261.png new file mode 100644 index 0000000..3801348 Binary files /dev/null and b/attached_assets/image_1756564625261.png differ diff --git a/client/src/components/netflix-grid.tsx b/client/src/components/netflix-grid.tsx index 439bfe6..5ac3351 100644 --- a/client/src/components/netflix-grid.tsx +++ b/client/src/components/netflix-grid.tsx @@ -111,6 +111,7 @@ export default function NetflixGrid({ videos, isLoading }: NetflixGridProps) { ))} @@ -130,9 +131,10 @@ export default function NetflixGrid({ videos, isLoading }: NetflixGridProps) { interface CategoryRowProps { category: VideoCategory; onVideoClick: (video: Video) => void; + hideScrollButtons?: boolean; } -function CategoryRow({ category, onVideoClick }: CategoryRowProps) { +function CategoryRow({ category, onVideoClick, hideScrollButtons = false }: CategoryRowProps) { const scrollRef = useRef(null); const [isScrolling, setIsScrolling] = useState(false); const scrollIntervalRef = useRef(); @@ -195,27 +197,31 @@ function CategoryRow({ category, onVideoClick }: CategoryRowProps) { {category.title}
- {/* Left scroll button - only on desktop */} - + {/* Left scroll button - only on desktop and not hidden */} + {!hideScrollButtons && ( + + )} - {/* Right scroll button - only on desktop */} - + {/* Right scroll button - only on desktop and not hidden */} + {!hideScrollButtons && ( + + )} {/* Scrollable video row - true edge to edge */}