From 8ea5ad6faf42c1986efffc36aa041bd48ab67fbc Mon Sep 17 00:00:00 2001 From: Sam Catlow Date: Sun, 18 Oct 2026 22:18:11 +1100 Subject: [PATCH] fix(ui): burger section sheet at phone width, 36px control scale The coarse-pointer rule gave every button, link and field a 44px minimum on touch, which made the phone dashboard look like a toy and pushed the section strip into overlapping its neighbours. Controls now keep their own size, and the shared ladder is one step taller (default 36px, sm 32px) so a finger still hits something. Inputs stay 16px only where iOS would zoom. Below md the sections move into a sheet with the current page marked; the bar keeps brand, search, alerts and the operator. Page titles drop to 18px so the title and its action sit on one centred line. --- ui/src/base/PageHeader.vue | 2 +- ui/src/components/topbar/Nav.vue | 8 +-- ui/src/components/topbar/NavMenu.vue | 49 +++++++++++++++++++ ui/src/components/topbar/Topbar.vue | 9 +++- ui/src/components/ui/button/index.ts | 12 ++--- ui/src/components/ui/command/CommandInput.vue | 2 +- .../components/ui/input-group/InputGroup.vue | 2 +- ui/src/components/ui/input/Input.vue | 2 +- .../ui/native-select/NativeSelect.vue | 2 +- .../ui/number-field/NumberFieldInput.vue | 2 +- .../ui/secret-reference/SecretReference.vue | 4 +- ui/src/components/ui/select/SelectTrigger.vue | 2 +- ui/src/components/ui/tabs/index.ts | 2 +- ui/src/components/ui/textarea/Textarea.vue | 2 +- ui/src/components/ui/toggle/index.ts | 6 +-- ui/src/style.css | 31 +++--------- 16 files changed, 88 insertions(+), 49 deletions(-) create mode 100644 ui/src/components/topbar/NavMenu.vue diff --git a/ui/src/base/PageHeader.vue b/ui/src/base/PageHeader.vue index a0dc41303..adf8a47f3 100644 --- a/ui/src/base/PageHeader.vue +++ b/ui/src/base/PageHeader.vue @@ -5,7 +5,7 @@ defineProps<{ title: string }>();