It's a bit of a hack but you can use userstyle.css to add a bit of control over Mermaid chart sizes in the desktop client.