Expense editor: compact one-screen layout, balanced category tiles
The add sheet was ~1,400px tall on a 390×844 phone and the 12 category chips wrapped into ragged rows. Now it fits one screen with three members: - currency is a pill beside the amount (native select laid over it) - categories are 12 equal tinted icon tiles, 6 × 2 (12 × 1 when wider), with the chosen name next to the label - date and payer share a row; "Several people" is the last payer option instead of a separate checkbox - photo, note and repeat are folded behind small buttons - Save is pinned to the bottom; Cancel dropped (the X closes) - sheet header is opaque and sheets get scroll-padding so focused fields aren't hidden under the header or the Save bar Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HA82gVKYyo9BHLHPW4qr4x
This commit is contained in:
parent
271d3e8a66
commit
5f40882cd5
6 changed files with 192 additions and 85 deletions
|
|
@ -20,6 +20,7 @@
|
|||
undo: 'M3 7v6h6M21 17a9 9 0 0 0-15-6.7L3 13',
|
||||
link: 'M10 13a5 5 0 0 0 7.5.5l3-3a5 5 0 0 0-7-7l-1.7 1.7M14 11a5 5 0 0 0-7.5-.5l-3 3a5 5 0 0 0 7 7l1.7-1.7',
|
||||
upload: 'M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4M17 8l-5-5-5 5M12 3v12',
|
||||
down: 'M6 9l6 6 6-6',
|
||||
} as const;
|
||||
|
||||
let { name, size = 22 }: { name: keyof typeof paths; size?: number } = $props();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue