Improve visibility and interaction of row navigation arrows
Update `netflix-grid.tsx` to increase the size and opacity of the left and right navigation buttons, and their respective Chevron icons, for enhanced usability on larger screens. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 8e9f2b36-ec9c-4acc-b19b-5304fa9790c5 Replit-Commit-Checkpoint-Type: full_checkpoint
This commit is contained in:
parent
3f3a0587fa
commit
6ee2a6b948
@ -249,10 +249,10 @@ 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-[40] bg-black/50 hover:bg-black/70 text-white border-none w-10 h-10 sm:w-12 sm:h-12 rounded-full transition-all duration-300 hidden md:flex items-center justify-center shadow-xl"
|
||||
size="sm"
|
||||
className="absolute left-4 top-1/2 -translate-y-1/2 z-[40] bg-black/80 hover:bg-black/90 text-white border-none w-16 h-16 rounded-full transition-all duration-300 hidden md:flex items-center justify-center shadow-2xl backdrop-blur-sm"
|
||||
size="lg"
|
||||
>
|
||||
<ChevronLeft className="w-5 h-5" />
|
||||
<ChevronLeft className="w-8 h-8" />
|
||||
</Button>
|
||||
)}
|
||||
|
||||
@ -262,10 +262,10 @@ 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-[40] bg-black/50 hover:bg-black/70 text-white border-none w-10 h-10 sm:w-12 sm:h-12 rounded-full transition-all duration-300 hidden md:flex items-center justify-center shadow-xl"
|
||||
size="sm"
|
||||
className="absolute right-4 top-1/2 -translate-y-1/2 z-[40] bg-black/80 hover:bg-black/90 text-white border-none w-16 h-16 rounded-full transition-all duration-300 hidden md:flex items-center justify-center shadow-2xl backdrop-blur-sm"
|
||||
size="lg"
|
||||
>
|
||||
<ChevronRight className="w-5 h-5" />
|
||||
<ChevronRight className="w-8 h-8" />
|
||||
</Button>
|
||||
)}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user