Skip to content

Use CSS grid for the overview page's newer/older navigation - #26

Merged
noha merged 1 commit into
masterfrom
fix/overview-nav-css-grid
Jul 22, 2026
Merged

noha merged 1 commit into
masterfrom
fix/overview-nav-css-grid

Conversation

@noha

@noha noha commented Jul 22, 2026

Copy link
Copy Markdown
Owner

The Skeleton float-based three/six/three-columns row (mirroring the blog-post template's previousPost/nextPost layout) rendered misaligned here: unlike blog-post's own nav row, which is a sibling of the body row directly under .container, this row ends up nested inside the blog template's own .twelve.columns body column, since it's part of bodyHtml rather than the outer template structure.

Replaced with a plain two-column CSS grid (1fr 1fr, left/right text-align)

  • doesn't depend on being a sibling of anything, and keeps both slots fixed in place regardless of nesting or whether one link is empty.

Verified against real content in a real browser: display:grid, two equal columns, "older" right-aligned in the right cell when "newer" isn't present.

The Skeleton float-based three/six/three-columns row (mirroring the
blog-post template's previousPost/nextPost layout) rendered misaligned
here: unlike blog-post's own nav row, which is a sibling of the body row
directly under .container, this row ends up nested inside the blog
template's own .twelve.columns body column, since it's part of bodyHtml
rather than the outer template structure.

Replaced with a plain two-column CSS grid (1fr 1fr, left/right text-align)
- doesn't depend on being a sibling of anything, and keeps both slots
fixed in place regardless of nesting or whether one link is empty.

Verified against real content in a real browser: display:grid, two equal
columns, "older" right-aligned in the right cell when "newer" isn't
present.
@noha
noha merged commit 8be1758 into master Jul 22, 2026
4 checks passed
@noha
noha deleted the fix/overview-nav-css-grid branch July 23, 2026 11:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant