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 website/src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -911,8 +911,11 @@ div[class*='announcementBar'] a {
.mermaid-zoom-content {
flex: 1;
display: flex;
align-items: center;
justify-content: center;
/* `safe center` falls back to flex-start when content overflows, so the
top/left of large diagrams remain reachable via scroll. Without `safe`,
flex centering pushes overflow off the start edge and clips it. */
align-items: safe center;
justify-content: safe center;
overflow: auto;
/* Subtle hint that scrolling is possible on small viewports */
scroll-behavior: smooth;
Expand Down