Adjust grid item appearance for smoother scrolling and better visual consistency
Modify the styling of grid pagination indicators in `netflix-grid.tsx` to remove `scale-125` and explicit `width`/`height` styles, reverting to previous visual size settings for improved performance. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 2cd2c0bc-434c-4bc9-ad3f-b99d3897a0d1 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/8cc42625-c1f5-4e43-99bd-77f2c4dedee2/2cd2c0bc-434c-4bc9-ad3f-b99d3897a0d1/OdlP8Wj
This commit is contained in:
parent
2233a33526
commit
200a0884df
@ -422,11 +422,17 @@ function CategoryRow({ category, onVideoClick, hideScrollButtons = false }: Cate
|
||||
setCurrentIndex(index);
|
||||
}
|
||||
}}
|
||||
className={`w-2 h-2 rounded-full transition-all duration-200 ease-out ${
|
||||
className={`rounded-full transition-all duration-200 ease-out ${
|
||||
index === currentIndex
|
||||
? 'bg-gradient-to-r from-purple-500 to-blue-500 scale-125'
|
||||
: 'bg-white/20 hover:bg-white/30 scale-100'
|
||||
? 'bg-gradient-to-r from-purple-500 to-blue-500'
|
||||
: 'bg-white/20 hover:bg-white/30'
|
||||
}`}
|
||||
style={{
|
||||
width: '8px',
|
||||
height: '8px',
|
||||
minWidth: '8px',
|
||||
minHeight: '8px'
|
||||
}}
|
||||
aria-label={`Go to card ${index + 1}`}
|
||||
/>
|
||||
))}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user