-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Smaller height of actor boxes #342
Comments
Hello, the height is managed by the rendering as it affects the sussequent coordinates in the graph. The way to change it is by changing the conf, (as you mentioned). This works for me:
Maybe the problem is how you initialize mermaid? Sorry about the late reply and I hope this helps, |
Hi Knut, |
Latest syntax has been changed to: mermaid.initialize({
sequence:{
...
}
}) |
mgenereu
pushed a commit
to mgenereu/mermaid
that referenced
this issue
Jun 25, 2022
chore(dependabot) : add github-actions and docker
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
I am trying to make the actor's boxes smaller. I started setting the height on .actor class:
.actor { stroke: none; fill: #E2ECFF; height: 32px; }
However, I could not find where to make the actor text to be centered within the box:
Setting
height: 32
in theconf
object (ex: in mermaid-0.5.8.js, line 39147) did not make any difference.Thank you!
The text was updated successfully, but these errors were encountered: