docs: render mermaid diagrams at full content width #484
No reviewers
Labels
No labels
backend
bug
chore
duplication
effort:complex
effort:medium
effort:trivial
enhancement
frontend
fullstack
priority:high
ready-for-agent
refactor
security
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
dries/ocman!484
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/mermaid-full-width"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
max-widthfrom its own computed layout, so diagrams rendered tiny in the docs site.site/assets/css/custom.css(Hextra concatenates it intomain.css) forcingpre.mermaid svgto the content width.Testing
hugobuild; verified the rule lands incss/compiled/main.css.Coverage ratchet: ✅ pass
Tolerance: -0.1%. Baseline stored on
gh-pages.f534c5c3c74fd41293b2View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.