Open roblabs opened 5 years ago
See this related example of the effect when width & height attributes are missing —
https://github.com/nationalparkservice/symbol-library/issues/142
viewbox
, and ensure there is a width="" height=""
in the <svg
tag <use x="145" y="100" xlink:href="assets/partial1.svg#Layer_1"
width="145" height="100"
/>
SVG Partials require that
width="" height""
are set.file under workaround,
atlante
fix may require SVG linting.Another alternate to linting is to open the SVG Partial in Firefox and verify if the SVG data is too large. If it's too large, then add
width="" height""
.Example
An SVG
viewbox=0 0 200 100
but nowidth
/height
, will have weird side effects. Workaround would be to addwidth="200" height"100"
in order foratlante
to do SVG partial layouts.