Closed baerrach closed 4 years ago
Hi
I am currently working around this by adding the following in index.scss. This will work as long as plantuml is the only svg is being generated - that may not be always the case.
//plantuml styling - override height with !important to ensure that aspect ratio is kept
svg {
max-width:100% ;height:auto !important
}
Fixed by #15
See #1
You can see from the generated svg for
max-width-option-overrides-svg-width-and-svg-height-but-viewbox-is-unaltered-1.html
that it has astyle
attributePlugin needs to remove any
width
orheight
from thestyle
attribute