Improve visual cues for scrolling through video categories
Adjust gradient fade widths and opacity in the netflix-grid component to provide clearer visual indicators for scrollable content. 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
82751343f2
commit
79d6459a61
@ -244,10 +244,10 @@ function CategoryRow({ category, onVideoClick, hideScrollButtons = false }: Cate
|
||||
</h2>
|
||||
<div className="relative overflow-hidden">
|
||||
{/* Left gradient fade */}
|
||||
<div className="absolute left-0 top-0 w-12 h-full bg-gradient-to-r from-bunny-dark to-transparent z-[30] pointer-events-none"></div>
|
||||
<div className="absolute left-0 top-0 w-16 h-full bg-gradient-to-r from-bunny-dark via-bunny-dark/80 to-transparent z-[30] pointer-events-none"></div>
|
||||
|
||||
{/* Right gradient fade */}
|
||||
<div className="absolute right-0 top-0 w-12 h-full bg-gradient-to-l from-bunny-dark to-transparent z-[30] pointer-events-none"></div>
|
||||
<div className="absolute right-0 top-0 w-16 h-full bg-gradient-to-l from-bunny-dark via-bunny-dark/80 to-transparent z-[30] pointer-events-none"></div>
|
||||
|
||||
{/* Left scroll button - positioned at container edge */}
|
||||
{!hideScrollButtons && (
|
||||
|
||||
Loading…
Reference in New Issue
Block a user