Commit bdbb4ac
committed
fix(ui): convert mobile nav from hardcoded rem to px/tokens
The design system switched spacing tokens to px units, but the header
component still used hardcoded rem values. On iOS, rem can resolve
differently than expected. Convert mobile nav styles to px and token
variables for consistency with the rest of the design system:
- padding: 1rem → var(--flex-space-md)
- close button insets: 0.5rem → var(--flex-space-sm)
- nav link padding: 0.75rem → 12px
- panel width/animation: 15rem → 240px1 parent 49abdca commit bdbb4ac
1 file changed
Lines changed: 6 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
354 | 354 | | |
355 | 355 | | |
356 | 356 | | |
357 | | - | |
358 | | - | |
| 357 | + | |
| 358 | + | |
359 | 359 | | |
360 | 360 | | |
361 | 361 | | |
| |||
367 | 367 | | |
368 | 368 | | |
369 | 369 | | |
370 | | - | |
371 | | - | |
| 370 | + | |
| 371 | + | |
372 | 372 | | |
373 | 373 | | |
374 | 374 | | |
| |||
388 | 388 | | |
389 | 389 | | |
390 | 390 | | |
391 | | - | |
| 391 | + | |
392 | 392 | | |
393 | 393 | | |
394 | 394 | | |
| |||
457 | 457 | | |
458 | 458 | | |
459 | 459 | | |
460 | | - | |
| 460 | + | |
461 | 461 | | |
462 | 462 | | |
463 | 463 | | |
| |||
0 commit comments