dash-mantine-components icon indicating copy to clipboard operation
dash-mantine-components copied to clipboard

RangeSlider bold (and maybe larger) text for min 0

Open tristanryerparke opened this issue 1 year ago • 0 comments

For some reason when creating a RangeSlider with min 0 and marks at 0, the lefthand label appears bold, potentially a larger font and off-center:

Screenshot 2023-06-28 at 12 22 50 PM

however when min is set to 1 or another value, it appears normally:

Screenshot 2023-06-28 at 12 23 51 PM

here is the code to to to reproduce:

dmc.RangeSlider(
  value=[5, 15],
  id='test_slider',
  min=0,
  max=20,
  minRange=1,
  maxRange=20,
  step=0.1,
  marks=[{'value': min, 'label': min}, {'value': max, 'label': max}],
  precision=2,
  style={'width': '100%'},
)

tristanryerparke avatar Jun 28 '23 16:06 tristanryerparke