Skip to content

docs: center the guide footer navigation on a single line#32

Merged
Reefact merged 1 commit into
mainfrom
claude/docs-footer-nav-links-d8rctf
Jul 6, 2026
Merged

docs: center the guide footer navigation on a single line#32
Reefact merged 1 commit into
mainfrom
claude/docs-footer-nav-links-d8rctf

Conversation

@Reefact

@Reefact Reefact commented Jul 6, 2026

Copy link
Copy Markdown
Owner

Summary

Fixes the footer layout introduced in #31. That version used a full-width HTML table to place previous / table-of-contents / next on the left, center and right — but GitHub sizes tables to their content (table { width: max-content } in its own stylesheet) and strips inline style attributes, so the table never expanded and the three links just clustered on the left instead of spreading out.

A true edge-to-edge left/right spread isn't achievable in GitHub's Markdown rendering. This PR uses what GitHub does honour — <div align="center"> — to present the navigation as a single, centered line:

← Previous · ↑ Table of contents · Next →

Changes

  • Replaced the footer <table width="100%"> block with a centered <div align="center"> single line on every guide page.
  • Links and targets are unchanged (previous / next section, and the centered table-of-contents link into the README index).
  • Pages without a previous or next section simply omit that link.
  • Applied to all 13 English and 13 French guide pages.

🤖 Generated with Claude Code

https://claude.ai/code/session_01H9NgkaNi3rGuHrSzgbgAXP


Generated by Claude Code

GitHub sizes tables to their content (CSS width: max-content) and strips
inline styles, so the previous full-width three-column table just clustered
the links on the left instead of spreading them. Replace it with a single
centered line — "← Previous · ↑ Table of contents · Next →" — wrapped in
<div align="center">, which GitHub honours. Pages without a previous or next
section simply omit that link. Applied to all 13 English and 13 French guides.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01H9NgkaNi3rGuHrSzgbgAXP
@Reefact Reefact merged commit 0c51cca into main Jul 6, 2026
2 checks passed
@Reefact Reefact deleted the claude/docs-footer-nav-links-d8rctf branch July 6, 2026 15:50
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.

2 participants