Show top 10 numbers on all devices for "Most Watched" category
Update netflix-grid.tsx to make the "Top 10" number overlay visible on mobile devices for the "Meist Angesehen" category, removing the desktop-only restriction. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 2cd2c0bc-434c-4bc9-ad3f-b99d3897a0d1 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/8cc42625-c1f5-4e43-99bd-77f2c4dedee2/2cd2c0bc-434c-4bc9-ad3f-b99d3897a0d1/gjpMN2A
This commit is contained in:
parent
6996e3ca10
commit
a6ab7de313
@ -412,8 +412,8 @@ function CategoryRow({ category, onVideoClick, hideScrollButtons = false }: Cate
|
||||
}}
|
||||
onMouseEnter={() => setClickedVideoId(video.id)}
|
||||
>
|
||||
{/* Top 10 Number overlay for first category - only on desktop */}
|
||||
{category.title.includes("Meist Angesehen") && index < 10 && window.innerWidth >= 768 && clickedVideoId !== video.id && (
|
||||
{/* Top 10 Number overlay for "Meist Angesehen" category - visible on all devices */}
|
||||
{category.title.includes("Meist Angesehen") && index < 10 && clickedVideoId !== video.id && (
|
||||
<div className="absolute top-0 left-2 z-20 text-white font-black text-5xl sm:text-6xl md:text-7xl drop-shadow-2xl transition-opacity duration-300"
|
||||
style={{
|
||||
textShadow: '4px 4px 8px rgba(0,0,0,0.8), -2px -2px 4px rgba(0,0,0,0.6)',
|
||||
|
||||
Loading…
Reference in New Issue
Block a user