Improve visibility of scrolling arrows in video carousels
Update the CSS class for the left and right scrolling buttons in the Netflix grid component to use an opacity of 0.8, making them consistently visible. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 2eb1084e-b728-4449-9231-f1665924c8d5 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/8cc42625-c1f5-4e43-99bd-77f2c4dedee2/2eb1084e-b728-4449-9231-f1665924c8d5/IgpyBVt
This commit is contained in:
parent
d4334edf01
commit
6db85a98cf
BIN
attached_assets/image_1756484512243.png
Normal file
BIN
attached_assets/image_1756484512243.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 529 KiB |
@ -251,7 +251,7 @@ function CategoryRow({ category, onVideoClick }: CategoryRowProps) {
|
||||
e.stopPropagation();
|
||||
stopAutoScroll();
|
||||
}}
|
||||
className="flex absolute left-2 top-[45%] -translate-y-1/2 w-12 h-12 z-30 bg-black/80 hover:bg-black/95 rounded-full items-center justify-center transition-all duration-300 cursor-pointer border border-white/30 shadow-lg opacity-0 group-hover:opacity-100 hover:!opacity-100"
|
||||
className="flex absolute left-2 top-[45%] -translate-y-1/2 w-12 h-12 z-30 bg-black/80 hover:bg-black/95 rounded-full items-center justify-center transition-all duration-300 cursor-pointer border border-white/30 shadow-lg opacity-80 hover:!opacity-100"
|
||||
data-testid="button-scroll-left"
|
||||
>
|
||||
<ChevronLeft className="w-6 h-6 text-white" />
|
||||
@ -277,7 +277,7 @@ function CategoryRow({ category, onVideoClick }: CategoryRowProps) {
|
||||
e.stopPropagation();
|
||||
stopAutoScroll();
|
||||
}}
|
||||
className="flex absolute right-2 top-[45%] -translate-y-1/2 w-12 h-12 z-30 bg-black/80 hover:bg-black/95 rounded-full items-center justify-center transition-all duration-300 cursor-pointer border border-white/30 shadow-lg opacity-0 group-hover:opacity-100 hover:!opacity-100"
|
||||
className="flex absolute right-2 top-[45%] -translate-y-1/2 w-12 h-12 z-30 bg-black/80 hover:bg-black/95 rounded-full items-center justify-center transition-all duration-300 cursor-pointer border border-white/30 shadow-lg opacity-80 hover:!opacity-100"
|
||||
data-testid="button-scroll-right"
|
||||
>
|
||||
<ChevronRight className="w-6 h-6 text-white" />
|
||||
|
||||
Loading…
Reference in New Issue
Block a user