fix: mobile footer flow, 6-post pages, flipped post-nav, Node 24 CI - #4
Conversation
- footer flows to page bottom below 82rem so it stops covering the content column; stays fixed bottom-left on wider viewports - pagerSize 12 -> 6 - post-nav arrows flipped: left = newer post, right = older - exampleSite: languageCode -> locale (Hugo 0.158 deprecation) - CI: actions/checkout@v4 -> v5 (off the deprecated Node 20 runtime) Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RbMGFzZfHUfbhid95FjBKb
Font 0.82rem -> 0.738rem and height cap 36rem -> 32.4rem. Width is ch-based so it tracks the font down, preserving the 80x24 grid. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RbMGFzZfHUfbhid95FjBKb
Below 82rem the footer is position:static, so on short pages (about, now) it floated just under the content mid-viewport. Make body a min-height:100vh flex column and give the footer margin-top:auto so it sits at the viewport bottom on short pages and the content end on long ones. The fixed footer (>82rem) is out of flow and unaffected. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RbMGFzZfHUfbhid95FjBKb
Font back to 0.82rem; shrink width to 75.6ch (was 84ch) so the window stays 10% smaller by box, not by shrinking the text. Height 32.4rem unchanged, so the aspect ratio holds. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RbMGFzZfHUfbhid95FjBKb
The sticky-footer change made body a flex column. Its flex items (.site-header, main) have margin-inline:auto and no explicit width, so on short pages they shrank to fit-content instead of the 68ch measure, squishing content and the navbar. Add width:100% so max-width caps them at 68ch as before. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RbMGFzZfHUfbhid95FjBKb
|
Code review — /frontend-design + /frontend-ui-engineering + JS best practices. Real issues1. Light-mode 2. Minor3. No 4. Duplicate dark 5. Drag clamp uses stale Good — leave alone
Applying fixes 1, 3, 4. |
- --muted #8a8a8a (3.45:1) -> #767676 (4.54:1) so small secondary text (dates, meta, footer, eyebrows, pager count) clears AA - add prefers-reduced-motion opt-out (kills transitions/animations) - merge the two duplicate dark prefers-color-scheme @media blocks Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RbMGFzZfHUfbhid95FjBKb
What
Mobile/UX polish plus two build-pipeline deprecation fixes.
68chcontent column once the left gutter shrank. Below82remit now flows to the page bottom; wider viewports keep it fixed.pagerSize12 → 6..NextInSection= newer gotcha).languageCode→localeinexampleSite/hugo.toml(deprecated in Hugo 0.158).actions/checkout@v4→@v5, off the deprecated Node 20 runtime.Test
hugo --source=exampleSite --minifybuilds clean, no warnings or deprecations.🤖 Generated with Claude Code