Commit eccea1c
feat(web): mobile shell — bottom tab bar, compact toolbars, denser cards
On a 375px phone the chrome ate 36-43% of the screen before any content:
a 99px collapsed sidebar (wordmark alone on row 1; AI badge, avatar,
Abmelden and the burger on row 2) stacked on a module toolbar that
wrapped to 3-5 rows. Navigation also cost two taps, and the burger menu
opened in normal flow, shoving the page off-screen with no scrim.
- SuiteNav renders a second shell at <=720px: the sidebar is hidden and
navigation moves to a fixed bottom tab bar (4 modules + "Mehr" sheet).
The burger and .side.open are gone. .app reserves the bar's height via
padding-bottom, which keeps every inner scroller clear of it.
- Module toolbars pack by CSS `order` (title+chip+primary / search /
filters), so no view's JSX changed. Content now starts at 163px on
Leads (was 347), 158px on Kunden (was 295), 51px on Übersicht (150).
- Table cards pack two-up, keeping the label-left/value-right idiom;
headlines, controls and tag lists still span full width. A lead row is
233px (was 367) — roughly one record per screen before.
Fixes four measured bugs:
- .dash-cards used `1fr`, whose automatic minimum is min-content, so the
KPI columns resolved to 383px inside a 351px row and the whole page
scrolled sideways. Now minmax(0, 1fr).
- The Ausgaben "Zeitraum" filter was 446px wide and overflowed by 83px.
- CustomersView had no data-label on any of its 25 cells, so the entire
Kunden module rendered as unlabeled values on a phone.
- The invoice editor's sticky head gave "Zurück" its own full-width row,
pinning 182px of header for the whole editor; now 101px.
Kanban columns also scroll-snap. Note the board still can't be used on
touch at all — it relies on HTML5 `draggable`, which never fires there —
but LeadsView already defaults <=720px to the table view.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>1 parent 5b10378 commit eccea1c
4 files changed
Lines changed: 374 additions & 129 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
58 | 63 | | |
59 | 64 | | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
60 | 113 | | |
61 | 114 | | |
62 | 115 | | |
| |||
71 | 124 | | |
72 | 125 | | |
73 | 126 | | |
74 | | - | |
75 | | - | |
| 127 | + | |
| 128 | + | |
76 | 129 | | |
77 | 130 | | |
78 | 131 | | |
| |||
84 | 137 | | |
85 | 138 | | |
86 | 139 | | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
87 | 148 | | |
| 149 | + | |
| 150 | + | |
88 | 151 | | |
89 | 152 | | |
90 | 153 | | |
91 | | - | |
| 154 | + | |
92 | 155 | | |
93 | 156 | | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
98 | 163 | | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
119 | 198 | | |
120 | | - | |
121 | | - | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
122 | 205 | | |
123 | 206 | | |
124 | | - | |
| 207 | + | |
| 208 | + | |
125 | 209 | | |
126 | 210 | | |
127 | | - | |
| 211 | + | |
128 | 212 | | |
129 | 213 | | |
130 | 214 | | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
131 | 223 | | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
139 | 269 | | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
146 | 273 | | |
147 | 274 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
512 | 512 | | |
513 | 513 | | |
514 | 514 | | |
515 | | - | |
| 515 | + | |
516 | 516 | | |
517 | 517 | | |
518 | 518 | | |
| |||
546 | 546 | | |
547 | 547 | | |
548 | 548 | | |
549 | | - | |
| 549 | + | |
550 | 550 | | |
551 | 551 | | |
552 | 552 | | |
| |||
589 | 589 | | |
590 | 590 | | |
591 | 591 | | |
592 | | - | |
| 592 | + | |
593 | 593 | | |
594 | 594 | | |
595 | 595 | | |
| |||
834 | 834 | | |
835 | 835 | | |
836 | 836 | | |
837 | | - | |
| 837 | + | |
| 838 | + | |
| 839 | + | |
838 | 840 | | |
839 | 841 | | |
840 | 842 | | |
| |||
0 commit comments