Skip to content

Commit

Permalink
refactor: delete viewbox and circle
Browse files Browse the repository at this point in the history
  • Loading branch information
kKaskak committed Oct 24, 2023
1 parent 1aeb863 commit dc17cbc
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/common/Slider/Slider.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,9 +109,7 @@ const Slider = ({ className, value, buffered, minimumValue, maximumValue, disabl
<div className={styles['track-after']} style={{ width: `calc(100% * ${thumbPosition})` }} />
</div>
<div className={styles['layer']}>
<div className={styles['thumb']} style={{ marginLeft: `calc(100% * ${thumbPosition})` }} viewBox={'0 0 10 10'}>
<circle cx={'5'} cy={'5'} r={'2.5'} />
</div>
<div className={styles['thumb']} style={{ marginLeft: `calc(100% * ${thumbPosition})` }} />
</div>
</div>
);
Expand Down

0 comments on commit dc17cbc

Please sign in to comment.