From 7f60dc99607697db76345432af167df68ed06571 Mon Sep 17 00:00:00 2001 From: Denozordec Date: Fri, 30 Oct 2026 14:55:20 +0700 Subject: [PATCH] Switch knob sat 7px off the edge: no preflight left the browser's button padding on ReUI buttons button[data-slot] gets padding 0 in the base layer (ReUI size utilities and the console's own styles still win). The switch's help now lines up under its label by the switch's 32px, and the dead .toggle input CSS from the native-switch days is gone. Co-Authored-By: Claude Sonnet 5.5 --- src/theme/globals.css | 12 +++++++++ src/ui/Check.module.css | 56 ++--------------------------------------- src/ui/Check.tsx | 2 +- 3 files changed, 15 insertions(+), 55 deletions(-) diff --git a/src/theme/globals.css b/src/theme/globals.css index 2589071..ab0a527 100644 --- a/src/theme/globals.css +++ b/src/theme/globals.css @@ -69,6 +69,18 @@ the System / Light / Dark theme without a second palette. --color-destructive-foreground: var(--dan); } /* +No preflight means a `