Repository navigation
docs(ui): body copy off-center on pages without a contents rail - #1331
Merged
Merged
Conversation
alandefreitas
enabled auto-merge
September 30, 2026 20:58
Contributor
🧾 Changes by Scope
🔝 Top Files
|
alandefreitas
force-pushed
the
docs/toc-margin
branch
from
September 30, 2026 20:59
34c5c9a to
cc7b743
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #1331 +/- ##
===========================================
+ Coverage 79.15% 83.12% +3.96%
===========================================
Files 384 35 -349
Lines 39441 3662 -35779
Branches 7848 844 -7004
===========================================
- Hits 31221 3044 -28177
+ Misses 5362 410 -4952
+ Partials 2858 208 -2650
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
An automated preview of the documentation is available at https://1331.mrdocs.prtest2.cppalliance.org/index.html If more commits are pushed to the pull request, the docs will rebuild at the same URL. 2026-09-30 21:10:23 UTC |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
On pages with no section headings, the "On this page" rail is dropped, and the article column grows wider than the reading measure. The title and the links at the bottom then move to the center while the paragraphs and lists stay on the left edge. This change makes every block follow the same centering rule. Pages that keep the rail look the same as before.
Changes
Four stylesheet rules that set block margins now touch only the top and bottom margins, so the side margins are left to the rule that centers each block on the reading measure.
Testing
I rendered the docs locally and compared a page without a rail (the Extensions overview) against one with a rail (Handlebars Extensions).
Documentation
None needed.