emersonbottero / vitepress-plugin-mermaid

Add mermaid support for Vitepress
MIT License
87 stars 20 forks source link

Style optimization #22

Closed Charles7c closed 1 year ago

Charles7c commented 1 year ago

Have you noticed this problem?

image

emersonbottero commented 1 year ago

I don't have those in my docs for example.

Can you recreate the same one in my examples and see the difference comparing the html elements and styles?

Charles7c commented 1 year ago

What I mean by that is that when the page is rendered, the process nodes get a little big and there is an extra white space underneath each process node. image image

I wonder if these process nodes can adapt to size, similar to the style effect I used in the Typora editor. Process nodes are relatively compact. image

emersonbottero commented 1 year ago

strange... maybe some browser extension then?

image

Charles7c commented 1 year ago

strange... maybe some browser extension then?

Ah, I am very sorry, my brain is a little not clear today, a lot of brain can think of the crux of the problem out of trouble you. Chrome is fine.

image