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:
sebastjanartic 2025-09-01 13:15:11 +00:00
parent 3f3a0587fa
commit 6ee2a6b948

View File

@ -249,10 +249,10 @@ function CategoryRow({ category, onVideoClick, hideScrollButtons = false }: Cate
onClick={() => scroll('left')} onClick={() => scroll('left')}
onMouseEnter={() => startAutoScroll('left')} onMouseEnter={() => startAutoScroll('left')}
onMouseLeave={stopAutoScroll} 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" 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="sm" size="lg"
> >
<ChevronLeft className="w-5 h-5" /> <ChevronLeft className="w-8 h-8" />
</Button> </Button>
)} )}
@ -262,10 +262,10 @@ function CategoryRow({ category, onVideoClick, hideScrollButtons = false }: Cate
onClick={() => scroll('right')} onClick={() => scroll('right')}
onMouseEnter={() => startAutoScroll('right')} onMouseEnter={() => startAutoScroll('right')}
onMouseLeave={stopAutoScroll} 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" 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="sm" size="lg"
> >
<ChevronRight className="w-5 h-5" /> <ChevronRight className="w-8 h-8" />
</Button> </Button>
)} )}