.page { & > .container { max-width: 800px; } } .mermaid { width: fit-content; margin: auto; }