diff --git a/client/src/components/netflix-grid.tsx b/client/src/components/netflix-grid.tsx index 26d4676..d9dadc5 100644 --- a/client/src/components/netflix-grid.tsx +++ b/client/src/components/netflix-grid.tsx @@ -188,8 +188,8 @@ function CategoryRow({ category, onVideoClick, hideScrollButtons = false }: Cate const scroll = (direction: 'left' | 'right') => { if (scrollRef.current) { - // Scroll exactly 4 cards (220px + 16px gap = 236px per card) - const cardWidth = 220 + 16; // card width + gap + // Scroll exactly 4 cards (200px + 16px gap = 216px per card) + const cardWidth = 200 + 16; // card width + gap const scrollAmount = cardWidth * 4; // 4 cards at once const currentScroll = scrollRef.current.scrollLeft; @@ -258,7 +258,7 @@ function CategoryRow({ category, onVideoClick, hideScrollButtons = false }: Cate {category.videos.map((video, index) => (
setClickedVideoId(video.id)} > {/* Top 10 Number overlay for first category */} diff --git a/client/src/index.css b/client/src/index.css index 3f7b881..83892f2 100644 --- a/client/src/index.css +++ b/client/src/index.css @@ -226,7 +226,7 @@ input[data-testid*="search"]::placeholder { /* Video card hover effects with gradients */ .video-card:hover { - transform: translateY(-2px) scale(1.05); + transform: translateY(-2px) scale(1.02); transition: all 0.3s ease; z-index: 1000; position: relative;