Improve navigation indicators in video carousels
Update the size and scale of carousel navigation indicators from 4px to 16px, and adjust the scale factor for the current item. 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
c0b08f13fa
commit
ae64f1e4bf
@ -404,11 +404,11 @@ function CategoryRow({ category, onVideoClick, hideScrollButtons = false }: Cate
|
|||||||
: 'bg-white/15 hover:bg-white/25'
|
: 'bg-white/15 hover:bg-white/25'
|
||||||
}`}
|
}`}
|
||||||
style={{
|
style={{
|
||||||
width: '4px',
|
width: '16px',
|
||||||
height: '4px',
|
height: '16px',
|
||||||
minWidth: '4px',
|
minWidth: '16px',
|
||||||
minHeight: '4px',
|
minHeight: '16px',
|
||||||
transform: index === currentIndex ? 'scale(1.3)' : 'scale(1)'
|
transform: index === currentIndex ? 'scale(1.2)' : 'scale(1)'
|
||||||
}}
|
}}
|
||||||
aria-label={`Go to card ${index + 1}`}
|
aria-label={`Go to card ${index + 1}`}
|
||||||
/>
|
/>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user