Skip to content

Commit 6d36142

Browse files
committed
dots hid within the track with subtle margin, instead of behind ship
1 parent ddb17bf commit 6d36142

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/Player.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export default function Player() {
3939
const pxOffset = slider.clientWidth * (percentage / 100);
4040
(particles as HTMLElement).style.setProperty(
4141
'--seek-particles-left',
42-
`${pxOffset}px`
42+
`${pxOffset - 10}px` // -5 to put the dots into the track
4343
);
4444
}
4545
}

0 commit comments

Comments
 (0)