From 20295fc69fb178a58022d4bece6fe67e6a476586 Mon Sep 17 00:00:00 2001 From: Shay Halsband Date: Sun, 27 Aug 2023 13:02:17 +0300 Subject: [PATCH] fix vertical slider - asymetric handle should swap width and height - fit vertical slider to container --- theme-base/components/input/_slider.scss | 3 +++ 1 file changed, 3 insertions(+) diff --git a/theme-base/components/input/_slider.scss b/theme-base/components/input/_slider.scss index 9b18847..45f69b7 100644 --- a/theme-base/components/input/_slider.scss +++ b/theme-base/components/input/_slider.scss @@ -15,9 +15,12 @@ } &.p-slider-vertical { + height: 100%; width: $sliderVerticalWidth; .p-slider-handle { + height: $sliderHandleWidth; + width: $sliderHandleHeight; margin-left: math.div(-1 * $sliderHandleWidth, 2); margin-bottom: math.div(-1 * $sliderHandleHeight, 2); }