Issues with New Mermaid Code Update: Forced Font and Text Cutoff

I’ve been using Mermaid code in my notes for a while now, but after the recent update, I’ve run into some issues that are messing with them. Specifically, the new Mermaid code update forces a font I really don’t like, and when my text doesn’t fit the box, it gets cut off. Is there a way to revert to an older version of Mermaid, or perhaps a CSS workaround to fix the font and prevent the text from being cut off?

Thanks in advance!

can you kindly follow the bug report template? thanks

Moved to help

I have the exact same problem but I noticed the following regarting to cutting off text.
It works in the sandbox vault perfectly. Also if you create a new vault it also works.
Weird thing is it doesn’t work im my main vault with restricted mode on, themes disabled and css disabled. No idea what can cause the problem im everything is turned off.

we will likely reintroduced the mermaid font that was removed by mistake.
The cutoff issue is not clear.

in your own vault, did you restart obsidian after disabling everything?

I did restart, even reinstalled with the new installer.

what is the output of show debug info in your own vault?

Blockquote
SYSTEM INFO:
Obsidian version: v1.8.3
Installer version: v1.8.3
Operating system: Windows 10 Pro N 10.0.19045
Login status: not logged in
Language: en
Insider build toggle: off
Live preview: on
Base theme: dark
Community theme: none
Snippets enabled: 0
Restricted mode: on

RECOMMENDATIONS:
none

can you post a screenshot of how it looks like in your own vault vs sandbox vault? thanks

Output in main vault:
image

Output in newly created vault or sandbox vault:
image

can you zip the .obsidian folder within vault and attach it here or dm it to me

I would like to dm it to you but my account doesnt have the trust level to sent dms.

try now

Messaging works now but the file is to big, even when zipped.

I understand, we’ll see if somebody else can provide some more info to figure out under which circumstances this bug happens.

I copied to .obsidian folder to the new vault and it works there with all plugins enabled.

In the new vault it works with css, custome theme and all plugins enabled. That makes no sense to me :confused:

It doesn’t work for me in the sandbox vault, though.

Yes, but where can I find it? This is my first time here, so I don’t really know how it works.

The thing that you deleted before writing your post.

Ah it’s my bad, how can I edit the post or do I have to make a new one following the template?