Help me Customize Mermaid Preview

Help me Customize Mermaid Preview

I want my Mermaid Diagram to preview or adjust the preview to my device size or else make it adjustable to my requirements and also I prefer an option that the details of digram to enlarge on hover. Currently My Diagrams looks as below.




It would be a great help. If you could help me to meet my requirements.

Note: The Theme I am using is Dark Moss on Mobile