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.
This commit is contained in:
1 parent
0d4b83862c
commit
8ea5ad6faf
16 files changed
+88
-49
No files matched your search
@@ -5,7 +5,7 @@ defineProps<{ title: string }>();
|
||||
|
||||
<template>
|
||||
<header class="mb-4 flex min-h-9 flex-wrap items-center justify-between gap-x-4 gap-y-2">
|
||||
<h1 class="text-xl font-semibold tracking-tight">{{ title }}</h1>
|
||||
<h1 class="text-lg leading-tight font-semibold tracking-tight sm:text-xl sm:leading-7">{{ title }}</h1>
|
||||
<div v-if="$slots.default" class="flex flex-wrap items-center gap-2">
|
||||
<slot />
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user