You can add a frontmatter block at the top of a Mermaid diagram:
```mermaid
width: 85vw
height: 60vh
min-height: 400px
graph LR
...
```
Supported keys:
width (default: 65vw)
height (default: auto)
min-height (default: 400px)
aspect_ratio (Gantt charts)