Repository navigation
Commit 0585922
site: stop the filter panel sticking on small screens (batch E)
At 375x800 the wrapped filter panel was 527px tall and pinned while
scrolling, leaving about 270px of an 800px screen for entries. On
screens up to 640px wide or 600px tall it now scrolls away with the
page; the Top button brings it back and focuses search.
app.js publishes --sticky-h as 0 when the panel is not sticky, so
permalinks and category jumps no longer reserve 527px of empty space
above the target, and the category scroll-spy measures from the top of
the viewport.
Checked in touch emulation: entries get the full screen at 375x800
and 800x400; #entry- permalinks land 16px from the top; Top returns
with search visible and focused. Desktop is unchanged (sticky, 228px).
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Wc67NX9MM964uaVGn4bpZJ1 parent e3426a1 commit 0585922
2 files changed
Lines changed: 18 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
366 | 366 | | |
367 | 367 | | |
368 | 368 | | |
369 | | - | |
370 | | - | |
371 | | - | |
372 | | - | |
373 | | - | |
374 | | - | |
375 | | - | |
376 | | - | |
| 369 | + | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
377 | 377 | | |
378 | 378 | | |
379 | 379 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1005 | 1005 | | |
1006 | 1006 | | |
1007 | 1007 | | |
| 1008 | + | |
| 1009 | + | |
| 1010 | + | |
| 1011 | + | |
| 1012 | + | |
| 1013 | + | |
| 1014 | + | |
| 1015 | + | |
| 1016 | + | |
1008 | 1017 | | |
1009 | | - | |
| 1018 | + | |
1010 | 1019 | | |
1011 | 1020 | | |
1012 | 1021 | | |
| |||
0 commit comments