Vertical padding doesn't work for nodes #4855
Labels
Status: Triage
Needs to be verified, categorized, etc
Type: Bug / Error
Something isn't working or is incorrect
Description
"padding-top" and "padding-bottom" styles doesn't work while "padding-left" and "padding-right" works well.
Furthermore, "padding" style changes left and right only.
Steps to reproduce
Paste sample to LiveEditor and take a look for cell-padding inside nodes.
Screenshots
No response
Code Sample
Setup
Suggested Solutions
if it is not a bug, add suport for these styles :)
Additional Context
New fake css style to override/modify global config property "padding" for specified node. I need to reduce padding size for some small nodes.
for example:
classDef paddingtop mermaid-config-padding:5px
The text was updated successfully, but these errors were encountered: