From c69edd23cd24238c040910a0cf3670f736ae6d62 Mon Sep 17 00:00:00 2001 From: sebastjanartic <45803536-sebastjanartic@users.noreply.replit.com> Date: Fri, 29 Aug 2025 17:56:58 +0000 Subject: [PATCH] Ensure video popups display correctly above other elements Update the CSS `z-index` property for video elements in the carousel to `z-50` when hovered, ensuring they appear on top of other content. Additionally, adjust the `VideoCard` className to include `relative` for proper stacking context. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 2eb1084e-b728-4449-9231-f1665924c8d5 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/8cc42625-c1f5-4e43-99bd-77f2c4dedee2/2eb1084e-b728-4449-9231-f1665924c8d5/yexZbDm --- client/src/components/simple-carousel.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/src/components/simple-carousel.tsx b/client/src/components/simple-carousel.tsx index dba1074..ccf8350 100644 --- a/client/src/components/simple-carousel.tsx +++ b/client/src/components/simple-carousel.tsx @@ -135,7 +135,7 @@ export default function SimpleCarousel({ category, onVideoClick }: SimpleCarouse {/* Create many copies for infinite feel */} {Array.from({ length: 20 }).map((_, copyIndex) => category.videos.map((video, videoIndex) => ( -