Pad date range sliders

So handles don't jut out when set to the min/max
This commit is contained in:
Yura Bondarenko
2022-03-22 18:48:09 +01:00
parent 3ecb3c2209
commit dac852481e

View File

@@ -28,4 +28,13 @@
.noUi-connect { .noUi-connect {
background: var(--ds-slider-color); background: var(--ds-slider-color);
} }
.noUi-target {
padding: 0 calc((var(--ds-slider-handle-width) / 2) - 1.5px);
margin: 0 1px;
}
.noUi-connect {
margin: 0 calc(-1 * (var(--ds-slider-handle-width) / 2));
width: calc(100% + var(--ds-slider-handle-width));
}
} }