use smaller icon for slider thumb

This commit is contained in:
NikolaBorislavovHristov 2019-10-03 10:45:41 +03:00
parent f256b5e33d
commit 99c0982f05

View file

@ -115,8 +115,8 @@ const Slider = ({ className, value, minimumValue, maximumValue, onSlide, onCompl
<div className={styles['track-before']} style={{ width: `calc(100% * ${thumbPosition})` }} />
</div>
<div className={styles['layer']}>
<svg className={styles['thumb']} style={{ marginLeft: `calc(100% * ${thumbPosition})` }} viewBox={'0 0 100 100'}>
<circle cx={'50'} cy={'50'} r={'50'} />
<svg className={styles['thumb']} style={{ marginLeft: `calc(100% * ${thumbPosition})` }} viewBox={'0 0 10 10'}>
<circle cx={'5'} cy={'5'} r={'5'} />
</svg>
</div>
</div>