Update carousel scroll buttons to improve browsing experience
Adjusted styling for carousel navigation buttons to match the ZDF-like aesthetic, enhancing visual appeal and user interaction. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 890577b1-c154-40a4-a177-a0c6d55320c3 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/8cc42625-c1f5-4e43-99bd-77f2c4dedee2/890577b1-c154-40a4-a177-a0c6d55320c3/2xHHKQn
This commit is contained in:
parent
1db0110cba
commit
7c2a66a2c1
@ -249,7 +249,7 @@ 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/70 hover:bg-black/90 text-white border-none w-12 h-12 sm:w-14 sm:h-14 rounded-full transition-all duration-300 hidden md:flex items-center justify-center shadow-2xl"
|
||||
className="absolute left-0 top-1/2 -translate-y-1/2 z-[40] bg-white/20 hover:bg-white/30 text-white border-none w-10 h-16 rounded-r-lg transition-all duration-300 hidden md:flex items-center justify-center backdrop-blur-sm"
|
||||
size="sm"
|
||||
>
|
||||
<ChevronLeft className="w-6 h-6" />
|
||||
@ -262,7 +262,7 @@ 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/70 hover:bg-black/90 text-white border-none w-12 h-12 sm:w-14 sm:h-14 rounded-full transition-all duration-300 hidden md:flex items-center justify-center shadow-2xl"
|
||||
className="absolute right-0 top-1/2 -translate-y-1/2 z-[40] bg-white/20 hover:bg-white/30 text-white border-none w-10 h-16 rounded-l-lg transition-all duration-300 hidden md:flex items-center justify-center backdrop-blur-sm"
|
||||
size="sm"
|
||||
>
|
||||
<ChevronRight className="w-6 h-6" />
|
||||
|
||||
Loading…
Reference in New Issue
Block a user