diff --git a/client/src/components/simple-carousel.tsx b/client/src/components/simple-carousel.tsx index 9549569..a0576d4 100644 --- a/client/src/components/simple-carousel.tsx +++ b/client/src/components/simple-carousel.tsx @@ -96,7 +96,7 @@ export default function SimpleCarousel({ category, onVideoClick }: SimpleCarouse }, [category.videos.length]); return ( -
+

{category.title}

diff --git a/client/src/components/video-card.tsx b/client/src/components/video-card.tsx index 2a54e09..eedf523 100644 --- a/client/src/components/video-card.tsx +++ b/client/src/components/video-card.tsx @@ -163,13 +163,14 @@ export default function VideoCard({ video, onClick, className = "" }: VideoCardP return (
setIsHovered(true)} onMouseLeave={() => setIsHovered(false)} diff --git a/client/src/index.css b/client/src/index.css index 6dc63b2..931ae16 100644 --- a/client/src/index.css +++ b/client/src/index.css @@ -387,12 +387,23 @@ input[data-testid*="search"]::placeholder { opacity: 0; } -/* Maximum z-index hover effect */ -.individual-video-hover:hover { - z-index: 9999 !important; - position: relative !important; - transform: scale(1.05) !important; - transition: all 0.3s ease !important; +/* Create stacking context for main container */ +.netflix-grid-container { + overflow: visible !important; + position: relative; + z-index: 1; +} + +/* Create stacking context for each carousel */ +.carousel-track { + overflow: visible !important; + position: relative; + z-index: 2; +} + +/* Ensure video cards can pop above everything */ +.video-card:hover { + z-index: 999999 !important; } /* Hide picture-in-picture button on all video elements */ diff --git a/client/src/pages/home.tsx b/client/src/pages/home.tsx index 431973b..aab667c 100644 --- a/client/src/pages/home.tsx +++ b/client/src/pages/home.tsx @@ -78,7 +78,7 @@ export default function Home() { currentView={viewMode} /> -
+
{/* Trikotniki na robovih - ne prekrivajo video kartic */}