Skip to content

Commit

Permalink
recenter slider
Browse files Browse the repository at this point in the history
  • Loading branch information
patrycjakalinska committed Jul 23, 2024
1 parent fb69481 commit c7c430a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ const RangeStyling = {
color: 'var(--swm-interactive-slider)', // color of the main path of slider
'& .MuiSlider-thumb': {
backgroundColor: 'var(--swm-interactive-slider)', //color of thumb
transform: 'translate(-50%, -40%)',
transform: 'translate(-50%, -50%)',
},
'& .MuiSlider-rail': {
color: 'var(--swm-interactive-slider-rail)', //color of the rail (remaining area of slider)
Expand All @@ -158,7 +158,7 @@ const DisabledRangeStyling = {
color: 'var(--swm-interactive-slider)', // color of the main path of slider
'& .MuiSlider-thumb': {
backgroundColor: '#ccc', //color of thumb
transform: 'translate(-50%, -40%)',
transform: 'translate(-50%, -50%)',
},
'& .MuiSlider-rail': {
color: 'var(--swm-interactive-slider-rail)', //color of the rail (remaining area of slider)
Expand Down

0 comments on commit c7c430a

Please sign in to comment.