Improve visibility of navigation arrows on video carousels

Adjust the opacity of the left and right navigation arrows in the `netflix-grid.tsx` component to be visible at 70% by default, improving discoverability and usability.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 074b0e4c-6171-43bd-aa98-f9e04623ca14
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/8cc42625-c1f5-4e43-99bd-77f2c4dedee2/074b0e4c-6171-43bd-aa98-f9e04623ca14/DVZN4Rp
This commit is contained in:
sebastjanartic 2025-08-30 14:11:19 +00:00
parent 27f1e6906e
commit 12b362391d

View File

@ -202,7 +202,7 @@ function CategoryRow({ category, onVideoClick }: CategoryRowProps) {
onClick={() => scroll('left')}
onMouseEnter={() => startAutoScroll('left')}
onMouseLeave={stopAutoScroll}
className="absolute left-2 top-1/2 -translate-y-1/2 z-30 bg-black/80 hover:bg-black/95 text-white border-none w-12 h-12 rounded-full opacity-0 group-hover:opacity-100 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-30 bg-black/80 hover:bg-black/95 text-white border-none w-12 h-12 rounded-full opacity-70 hover:opacity-100 transition-all duration-300 flex items-center justify-center shadow-xl hidden md:flex"
size="sm"
>
<ChevronLeft className="w-5 h-5" />
@ -213,7 +213,7 @@ function CategoryRow({ category, onVideoClick }: CategoryRowProps) {
onClick={() => scroll('right')}
onMouseEnter={() => startAutoScroll('right')}
onMouseLeave={stopAutoScroll}
className="absolute right-2 top-1/2 -translate-y-1/2 z-30 bg-black/80 hover:bg-black/95 text-white border-none w-12 h-12 rounded-full opacity-0 group-hover:opacity-100 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-30 bg-black/80 hover:bg-black/95 text-white border-none w-12 h-12 rounded-full opacity-70 hover:opacity-100 transition-all duration-300 flex items-center justify-center shadow-xl hidden md:flex"
size="sm"
>
<ChevronRight className="w-5 h-5" />