diff --git a/client/src/components/netflix-grid.tsx b/client/src/components/netflix-grid.tsx index 20ec96c..ff310a7 100644 --- a/client/src/components/netflix-grid.tsx +++ b/client/src/components/netflix-grid.tsx @@ -245,7 +245,7 @@ function CategoryRow({ category, onVideoClick, hideScrollButtons = false }: Cate onClick={() => scroll('left')} onMouseEnter={() => startAutoScroll('left')} onMouseLeave={stopAutoScroll} - className="absolute left-2 top-1/2 -translate-y-1/2 z-[60] bg-black/50 hover:bg-black/70 text-white border-none w-12 h-12 rounded-full transition-all duration-300 flex items-center justify-center shadow-xl hidden md:flex" + className="absolute left-2 top-1/2 -translate-y-1/2 z-[40] bg-black/50 hover:bg-black/70 text-white border-none w-12 h-12 rounded-full transition-all duration-300 flex items-center justify-center shadow-xl hidden md:flex" size="sm" > @@ -258,7 +258,7 @@ function CategoryRow({ category, onVideoClick, hideScrollButtons = false }: Cate onClick={() => scroll('right')} onMouseEnter={() => startAutoScroll('right')} onMouseLeave={stopAutoScroll} - className="absolute right-2 top-1/2 -translate-y-1/2 z-[60] bg-black/50 hover:bg-black/70 text-white border-none w-12 h-12 rounded-full transition-all duration-300 flex items-center justify-center shadow-xl hidden md:flex" + className="absolute right-2 top-1/2 -translate-y-1/2 z-[40] bg-black/50 hover:bg-black/70 text-white border-none w-12 h-12 rounded-full transition-all duration-300 flex items-center justify-center shadow-xl hidden md:flex" size="sm" > @@ -274,7 +274,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 57d4a68..4c7e6b9 100644 --- a/client/src/index.css +++ b/client/src/index.css @@ -339,7 +339,7 @@ input[data-testid*="search"]::placeholder { .header-sticky { position: sticky !important; top: 0 !important; - z-index: 50 !important; + z-index: 100 !important; backdrop-filter: blur(8px); background: rgba(30, 20, 40, 0.85) !important; border-bottom: 1px solid rgba(255, 255, 255, 0.1); diff --git a/client/src/pages/VideoPage.tsx b/client/src/pages/VideoPage.tsx index bd07cfd..9d68b0c 100644 --- a/client/src/pages/VideoPage.tsx +++ b/client/src/pages/VideoPage.tsx @@ -323,7 +323,7 @@ export default function VideoPage() { }} /> -
+
{/* Main video section */}
{/* Video player */}