You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using the mermaid-string wrapper in my VueJs app, and having some trouble with display. I don't believe this is related to that code, but it may be. I'm also having a great deal of trouble locating how to control the CSS passed into mermaid - as using the browser's developer tools shows me exactly what is happening.
But it renders off center within my wrapping <div>.
It appears there is a max-width property on the <svg> that I can't seem to override. Is there a configuration that I can pass in to your code to get this rendering properly?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi there,
I'm using the mermaid-string wrapper in my VueJs app, and having some trouble with display. I don't believe this is related to that code, but it may be. I'm also having a great deal of trouble locating how to control the CSS passed into mermaid - as using the browser's developer tools shows me exactly what is happening.
I have a simple flowchart:
But it renders off center within my wrapping
<div>
.It appears there is a
max-width
property on the<svg>
that I can't seem to override. Is there a configuration that I can pass in to your code to get this rendering properly?Thanks for your help!
Beta Was this translation helpful? Give feedback.
All reactions