-
Notifications
You must be signed in to change notification settings - Fork 117
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
(Bug report) Mermaid diagrams rendered out of viewport #474
Comments
@daneos , could you provide a sample diagram that I could analyze the problem with? |
Sure, here's the diagram that you can see on my screenshots:
|
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
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
The text was updated successfully, but these errors were encountered: