From fd69654857ec38f1cb0f90365f1ffc95e3a1d58e Mon Sep 17 00:00:00 2001 From: stroblme Date: Thu, 27 Aug 2026 16:15:26 +0200 Subject: [PATCH] Slider value beside the track, the way a bar row reads MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It was stacked above the slider, spending a whole row on a number that fits next to one — and on a tile with ticks that made three rows for one control. Held to the control's own height so it sits on the track's midline. Co-Authored-By: Claude Opus 5 (1M context) --- frontend/src/components/Dashboard/widgets.tsx | 52 +++++++++++-------- 1 file changed, 30 insertions(+), 22 deletions(-) diff --git a/frontend/src/components/Dashboard/widgets.tsx b/frontend/src/components/Dashboard/widgets.tsx index b069332..63e2c36 100644 --- a/frontend/src/components/Dashboard/widgets.tsx +++ b/frontend/src/components/Dashboard/widgets.tsx @@ -493,29 +493,37 @@ function SliderWidget({ widget, dashboard }: WidgetProps) { const unit = cfg.unit ? text(cfg.unit) : undefined return ( -
+ // Value beside the track rather than above it, the way a bar row reads — + // one row instead of two, and the tile keeps the height for the control. +
{pulse} - - +
+ +
+ {/* Held to the control's own height, so the value sits on the track's + midline whether or not there is a row of ticks under it. */} +
+ +
) }