From 17a9cf799cf27e1898830beca057eab633449cab Mon Sep 17 00:00:00 2001 From: NunoSempere Date: Wed, 6 Oct 2021 10:51:27 +0200 Subject: [PATCH] fix: aesthetics --- lib/slider.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/slider.js b/lib/slider.js index 830eb8c..b1090db 100644 --- a/lib/slider.js +++ b/lib/slider.js @@ -39,12 +39,12 @@ function Handle({ left: `${percent}%`, position: 'absolute', marginLeft: -10, - marginTop: 0, + marginTop: 2.5, zIndex: 2, width: 30, height: 30, cursor: 'pointer', - borderRadius: '50%', + borderRadius: '0%', backgroundColor: '#374151', color: '#374151', }} @@ -62,7 +62,7 @@ function Track({ source, target, getTrackProps }) { position: 'absolute', height: 15, zIndex: 1, - marginTop: 7, + marginTop: 7.5, backgroundColor: ' #3B82F6', borderRadius: 5, cursor: 'pointer',