From 0f4a74ef4774015cd10002c63b0bcf2cf8acdc9d Mon Sep 17 00:00:00 2001 From: sebastjanartic <45803536-sebastjanartic@users.noreply.replit.com> Date: Sat, 30 Aug 2025 13:23:32 +0000 Subject: [PATCH] Improve video hover effect for better visual interaction Update CSS classes in `netflix-grid.tsx` to enhance the hover effect on video elements, increasing their z-index on hover to bring them to the front. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 074b0e4c-6171-43bd-aa98-f9e04623ca14 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/8cc42625-c1f5-4e43-99bd-77f2c4dedee2/074b0e4c-6171-43bd-aa98-f9e04623ca14/iazasnP --- client/src/components/netflix-grid.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/src/components/netflix-grid.tsx b/client/src/components/netflix-grid.tsx index 3f63909..e7a12f2 100644 --- a/client/src/components/netflix-grid.tsx +++ b/client/src/components/netflix-grid.tsx @@ -226,7 +226,7 @@ function CategoryRow({ category, onVideoClick }: CategoryRowProps) { {category.videos.map((video, index) => (
setClickedVideoId(video.id)} > {/* Top 10 Number overlay for first category */} @@ -245,7 +245,7 @@ function CategoryRow({ category, onVideoClick }: CategoryRowProps) { setClickedVideoId(video.id); onVideoClick(video); }} - className="w-full hover:scale-105 md:hover:scale-110 hover:z-10 transition-all duration-300 md:duration-500 group-hover:shadow-2xl rounded-lg overflow-hidden" + className="w-full hover:scale-105 md:hover:scale-110 hover:z-50 transition-all duration-300 md:duration-500 group-hover:shadow-2xl rounded-lg overflow-hidden" />
))}