Commit 1dc8bb1
authored
fix(ui): scroll clearance under the sticky nav, balanced source tiles (#270)
- html gets scroll-padding-top: 5rem (64px sticky DaoHeader + breathing
room), so anchor jumps and scrollIntoView land clear of the nav
site-wide instead of leaving headings clipped behind its blur.
- The source tiles' column count now derives from the source count so
rows stay balanced: 5 sources render 3+2 instead of 4+1 with an
orphan; 6 (a future Seaport source) becomes 3+3. The formula and its
composition table are documented in place, including why auto-fit was
rejected — it trades a reproducible orphan for an intermittent one.1 parent 32805c1 commit 1dc8bb1
2 files changed
Lines changed: 34 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
121 | 129 | | |
122 | 130 | | |
123 | 131 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
223 | 223 | | |
224 | 224 | | |
225 | 225 | | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
226 | 247 | | |
227 | 248 | | |
228 | 249 | | |
229 | | - | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
230 | 254 | | |
231 | 255 | | |
232 | 256 | | |
| |||
250 | 274 | | |
251 | 275 | | |
252 | 276 | | |
253 | | - | |
| 277 | + | |
254 | 278 | | |
255 | 279 | | |
256 | 280 | | |
| |||
0 commit comments