Commit aab9e3e
Ravi Singh
fix: mobile layout + board MCU-mismatch boot guard
Mobile (ERR was: sidebar + bottom-tabs both rendered, scrambling layout):
- Added the missing .hide-mobile / .show-mobile rules — they were
referenced inline by main.tsx but never defined in styles.css, so on
phones the desktop sidebar AND mobile bottom-nav both rendered at
once, overlapping every card and pushing the page off-screen
- Trimmed paddings, reduced page-head gap, and force-collapse all
inline auto-fit grids (220/280 px min-cols) to 2-column at ≤760 px
and 1-column at ≤480 px — Hardware/Mesh/Motion screens now lay out
cleanly on a 360 px viewport
Boot guard (ERR was: 2nd C3 not starting AP after reflash):
- resolve_board_profile now rejects an NVS board.id whose profile->mcu
doesn't match CONFIG_IDF_TARGET (e.g., "esp32-devkit" pinmap loaded
on a C3). Wrong pinmap drives USB-JTAG / flash pins as outputs and
bricks boot before netmgr starts, looking like "device dead". Falls
back to the compile-time default profile in that case.1 parent 0b63b6e commit aab9e3e
4 files changed
Lines changed: 51 additions & 5 deletions
Large diffs are not rendered by default.
Binary file not shown.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
51 | | - | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
52 | 65 | | |
53 | | - | |
54 | 66 | | |
55 | 67 | | |
56 | 68 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
83 | 89 | | |
| 90 | + | |
| 91 | + | |
84 | 92 | | |
85 | 93 | | |
86 | 94 | | |
| |||
90 | 98 | | |
91 | 99 | | |
92 | 100 | | |
93 | | - | |
| 101 | + | |
| 102 | + | |
94 | 103 | | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
95 | 129 | | |
96 | 130 | | |
97 | 131 | | |
| |||
0 commit comments