I am using Joplin 1.0.241 (prod, linux) and I just encountered some issues in the Mermaid rendering.
Lets take the following example graph:
```mermaid
graph LR
A --> B
A --> C
```
The rendered version of this is quite tall, because the height of the mermaid boxes or the line height of the text is to big. Is this a Joplin bug or are their any settings which have to change to get even mermaid chats?
The issue is related to fractional scaling in Ubuntu. I am using 125% percent scaling which causes the mermaid rendering issues. If I go back to 100% the rendering is just fine. If I use 150% or 175% scaling the issue exists, too.
This seems to be a problem with electron and the chromium team is working on it.
As I stated above, mermaid rendering is quite messy and I dont fully understand it. But I would expect that fractional scaling influences the widthand the height of mermaid nodes, which is not the case.
As mentioned before, we depends on the fixes upstream. As soon as thery are available, we can upsate Mermaid in Joplin.
Sometimes it's just of our hands. But nothing keeps anyone from adding comments and pushing for fixes in the Mermaid bug tracker.