Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions docs/.vitepress/theme/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,15 @@
/* Diagrams opting out of down-scaling (useMaxWidth: false) render at natural
size; let them scroll horizontally instead of overflowing the page. The
viewer’s flex container would otherwise shrink them to the column width,
and plain centering would push their left edge out of scroll reach. */
and plain centering would push their left edge out of scroll reach.
Browsers without `safe` alignment (Safari < 17.6) drop that declaration,
so start-align them first rather than fall back to the viewer’s centering. */
.vp-doc figure.mermaid {
overflow-x: auto;
justify-content: flex-start;
justify-content: safe center;
}

.vp-doc .mermaid svg {
.vp-doc figure.mermaid > svg {
flex-shrink: 0;
}
Loading