Improve the visual design of video row navigation buttons
Update the styling and positioning of the navigation arrows for video rows, making them smaller and more visually subtle. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 8e9f2b36-ec9c-4acc-b19b-5304fa9790c5 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/8cc42625-c1f5-4e43-99bd-77f2c4dedee2/8e9f2b36-ec9c-4acc-b19b-5304fa9790c5/0CzYEcy
This commit is contained in:
parent
a1ef7eb7e4
commit
c0f16f92e4
BIN
attached_assets/image_1756733333595.png
Normal file
BIN
attached_assets/image_1756733333595.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 36 KiB |
@ -278,26 +278,17 @@ function CategoryRow({ category, onVideoClick, hideScrollButtons = false }: Cate
|
||||
))}
|
||||
</div>
|
||||
|
||||
{/* Navigation arrows at the end of each row - only on desktop */}
|
||||
{/* Navigation arrow at the end of each row - small square with arrow */}
|
||||
{!hideScrollButtons && (
|
||||
<div className="absolute right-4 top-1/2 -translate-y-1/2 z-[40] flex md:flex flex-col gap-2 bg-red-500/50">
|
||||
<Button
|
||||
onClick={() => scroll('left')}
|
||||
onMouseEnter={() => startAutoScroll('left')}
|
||||
onMouseLeave={stopAutoScroll}
|
||||
className="bg-black/70 hover:bg-black/85 text-white border-none w-12 h-16 rounded-md transition-all duration-300 flex items-center justify-center shadow-xl backdrop-blur-sm"
|
||||
size="sm"
|
||||
>
|
||||
<ChevronLeft className="w-5 h-5" />
|
||||
</Button>
|
||||
<div className="absolute right-2 top-1/2 -translate-y-1/2 z-[40] hidden md:block">
|
||||
<Button
|
||||
onClick={() => scroll('right')}
|
||||
onMouseEnter={() => startAutoScroll('right')}
|
||||
onMouseLeave={stopAutoScroll}
|
||||
className="bg-black/70 hover:bg-black/85 text-white border-none w-12 h-16 rounded-md transition-all duration-300 flex items-center justify-center shadow-xl backdrop-blur-sm"
|
||||
className="bg-black/60 hover:bg-black/80 text-white border-none w-10 h-16 rounded transition-all duration-300 flex items-center justify-center shadow-lg backdrop-blur-sm"
|
||||
size="sm"
|
||||
>
|
||||
<ChevronRight className="w-5 h-5" />
|
||||
<ChevronRight className="w-4 h-4" />
|
||||
</Button>
|
||||
</div>
|
||||
)}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user