Mermaid diagrams are not zoomable

Summary

When Mermaid documents have a lot of detail, they are rendered with very small writing. It does not seem possible to scale or zoom into the image and this is unfriendly from an accessibility perspective.

A great example of this are the Web request architecture diagrams.

What is the current bug behavior?

Writing is very small on large diagrams.

What is the expected correct behavior?

Image is zoomable. Being able to hide the documentation sidebars would also help.

Relevant logs and/or screenshots

Screenshot_2022-04-22_at_10.04.57

Zooming the page clips the diagram

Screenshot_2022-04-22_at_10.08.46

Output of checks

This bug happens on GitLab.com

Possible fixes

A CSS-based solution is detailed on the Mermaid project site.

Edited by Sean Carroll