-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
(Bug report) Mermaid diagrams rendered out of viewport #5203
Copy link
Copy link
Closed
Description
TriliumNext Version
0.90.4
What operating system are you using?
Other Linux
What is your setup?
Local + server sync
Operating System Version
Linux Mint 21.1 Cinnamon
Description
Big mermaid diagrams are being rendered "below" the viewport, which makes it necessary to use the arrows to scroll down and bring the diagram up on every change. In the maximized window on screenshot below you can just see the top of the diagram, but if the window size is smaller the diagram is completely invisible.

I suppose the expected behaviour would be to render the diagram centered in the viewport, more or less like this:

Error logs
No response
Reactions are currently unavailable