You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: unify top-bar button sizes on touch devices (iPad) (#286)
The Aa (terminal-font) and bell (notifications) buttons carried a
coarse:36px touch-target bump while the splits, close, theme, and
fixed-width buttons stayed at 24px, so on coarse-pointer devices (iPad)
the cluster rendered at two different sizes. Apply a uniform
coarse:30px square to all six right-side top-bar controls (24px on fine
pointers, unchanged on desktop) and document the convention in
context.md.
Co-authored-by: Sahil Ahuja <sahilahuja@gmail.com>
Copy file name to clipboardExpand all lines: fab/project/context.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -87,7 +87,7 @@ Never run `npx playwright test` directly — always use `just test-e2e` or `just
87
87
## Mobile Responsive Design
88
88
89
89
- Touch targets use the `coarse:` custom Tailwind variant (`@media (pointer: coarse)`) for touch devices
90
-
- Touch targets: `coarse:min-h-[36px] coarse:min-w-[28px]` (taller than wide, not square) for bottom bar buttons; `coarse:36px` square for topbar/breadcrumb buttons
90
+
- Touch targets: `coarse:min-h-[36px] coarse:min-w-[28px]` (taller than wide, not square) for bottom bar buttons; `coarse:30px` square for top-bar button controls (24px on fine pointers), applied uniformly across the whole right-side cluster — splits, close, Aa, bell, theme, fixed-width — so they don't diverge in size on touch devices
91
91
- Bottom bar toolbar fits all buttons in a single row at 375px — no wrapping, no horizontal scroll
92
92
- Top bar is a single line: breadcrumbs + connection status + FixedWidthToggle + command palette trigger. Session/window creation actions live in breadcrumb dropdown `+ New` items
93
93
- Mobile sidebar drawer is `absolute` inside the main area (not `fixed inset-0`) so the top bar stays visible and the logo toggle can close the drawer
0 commit comments