diff --git a/client/src/components/netflix-grid.tsx b/client/src/components/netflix-grid.tsx index f1544c1..f796f5c 100644 --- a/client/src/components/netflix-grid.tsx +++ b/client/src/components/netflix-grid.tsx @@ -73,8 +73,8 @@ export default function NetflixGrid({ videos, isLoading }: NetflixGridProps) {
{Array.from({ length: 6 }).map((_, index) => ( -
-
+
+
@@ -136,7 +136,7 @@ function CategoryRow({ category, onVideoClick }: CategoryRowProps) { const scroll = (direction: 'left' | 'right') => { if (scrollRef.current) { - const scrollAmount = 320; // Width of card + gap + const scrollAmount = 240; // Width of card + gap const currentScroll = scrollRef.current.scrollLeft; const targetScroll = direction === 'left' ? currentScroll - scrollAmount @@ -181,7 +181,7 @@ function CategoryRow({ category, onVideoClick }: CategoryRowProps) { style={{ scrollbarWidth: 'none', msOverflowStyle: 'none' }} > {category.videos.map((video, index) => ( -
+
{/* Top 10 Number overlay for first category */} {category.title.includes("Top 10") && index < 10 && (
{/* Simple thumbnail with fallback - no HLS loading until needed */}
onClick?.(video)} >