diff --git a/client/src/index.css b/client/src/index.css index 7f52da1..ae00bd8 100644 --- a/client/src/index.css +++ b/client/src/index.css @@ -388,14 +388,14 @@ input[data-testid*="search"]::placeholder { } /* Force all parent elements to be overflow visible when video card is hovered */ -.video-card:hover, -.video-card:hover * { +.video-card:hover { z-index: 999999 !important; } -/* Force all ancestors to show overflow when video is hovered */ -body:has(.video-card:hover) *, -html:has(.video-card:hover) * { +/* Only target specific carousel containers, not scroll containers */ +.carousel-track:has(.video-card:hover), +.netflix-grid-container:has(.video-card:hover), +div:has(.video-card:hover):not([class*="overflow-x-auto"]):not([class*="overflow-y-auto"]) { overflow: visible !important; }