From ce249c2730228707015cf5fa71c09832a06c0ef7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mathias=20Gla=CC=88ser?= Date: Tue, 19 May 2026 13:15:48 +0200 Subject: [PATCH] Fix slider value visibility on narrow widths --- styleguide.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/styleguide.css b/styleguide.css index 7c5deb4..1351771 100644 --- a/styleguide.css +++ b/styleguide.css @@ -856,6 +856,7 @@ section + section { .sg-slider-row { display: flex; + flex-wrap: wrap; align-items: center; gap: var(--spacing-small); width: 100%; @@ -869,6 +870,7 @@ section + section { } .sg-slider { + flex: 1 1 14rem; width: 100%; min-width: 0; max-width: var(--layout-input-field-max-width); @@ -926,7 +928,9 @@ section + section { } .sg-slider-value { + flex: 0 0 auto; min-width: calc(var(--interaction-height) * 1.25); + white-space: nowrap; text-align: right; color: var(--text-control-default); }