Improve row navigation by adding visual cues for scrolling
Modify the `CategoryRow` component in `netflix-grid.tsx` to display a semi-transparent red background on navigation arrows, indicating their presence and potential functionality. 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
8bd0640ed9
commit
a1ef7eb7e4
@ -280,7 +280,7 @@ function CategoryRow({ category, onVideoClick, hideScrollButtons = false }: Cate
|
||||
|
||||
{/* Navigation arrows at the end of each row - only on desktop */}
|
||||
{!hideScrollButtons && (
|
||||
<div className="absolute right-4 top-1/2 -translate-y-1/2 z-[40] hidden md:flex flex-col gap-2">
|
||||
<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')}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user