From ae3dc218ead0dbb440a1ffa2448cc89ecea802d4 Mon Sep 17 00:00:00 2001 From: Niko1221 Date: Sun, 27 Sep 2026 17:45:02 +0200 Subject: [PATCH] web app: a long switch label no longer squeezes the switch The Sampling drawer's "Experimental speed projection" row has a longer label than "Show thinking", and the flex row shrank its switch, clipping the knob at the drawer's edge. Switches in toggle rows keep their size. --- serve/web/app.css | 1 + 1 file changed, 1 insertion(+) diff --git a/serve/web/app.css b/serve/web/app.css index 07643503..434ead5a 100644 --- a/serve/web/app.css +++ b/serve/web/app.css @@ -107,6 +107,7 @@ main { flex: 1; min-height: 0; display: flex; } .facts .st-btn--icon .st-icon { width: 16px; height: 16px; } .toggle-row { display: flex; align-items: center; justify-content: space-between; gap: var(--st-s-4); font-size: var(--st-fs-sm); font-weight: var(--st-fw-medium); color: var(--st-ink-soft); } +.toggle-row .st-toggle { flex: none; } /* a long label must not squeeze the switch */ /* ---------------------------------------------------------------- drawer */ .st-drawer { z-index: 40; }