From 63be9fc5416f6cd3aef911cecacdb697d7b86362 Mon Sep 17 00:00:00 2001 From: CircleShift Date: Sat, 21 Jun 2025 15:25:11 -0400 Subject: Slider percentage fixes --- styles/widgets.css | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'styles/widgets.css') diff --git a/styles/widgets.css b/styles/widgets.css index 40ec4fc..9483a81 100644 --- a/styles/widgets.css +++ b/styles/widgets.css @@ -210,7 +210,7 @@ z-index: 2; font-weight: bold; - width: calc(1.2 * var(--base-unit)); + min-width: var(--base-unit); height: var(--base-unit); pointer-events: none; user-select: none; @@ -233,6 +233,11 @@ transition-duration: 0s; } +.color-light > .detail, .color-temp > .detail, .color-wheel > .detail { + min-width: 0; + width: var(--base-unit); +} + .color-light:active > .detail, .color-temp:active > .detail, .color-wheel:active > .detail, -- cgit v1.2.3