From 5b6489276c2d646b6db2c61ee763a6db697d8b1b Mon Sep 17 00:00:00 2001 From: Fatih Erikli Date: Sun, 17 Dec 2023 00:42:31 +0300 Subject: [PATCH] Decrease width per value --- src/fontra/client/web-components/range-slider.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fontra/client/web-components/range-slider.js b/src/fontra/client/web-components/range-slider.js index fc395fbb5..72bf805c6 100644 --- a/src/fontra/client/web-components/range-slider.js +++ b/src/fontra/client/web-components/range-slider.js @@ -361,7 +361,7 @@ export class RangeSlider extends html.UnlitElement { { class: "range-container", style: this.isDiscrete() - ? `max-width: ${this.values.length * 40}px; width: 100%;` + ? `max-width: ${this.values.length * 20}px; width: 100%;` : "", }, [