Answer the question
In order to leave comments, you need to log in
SVG image cropped, how to make it full screen?
The SVG image inserted with the help was cut off. How to make an image full size or scaled <object>
Answer the question
In order to leave comments, you need to log in
I will offer many options.
You need to add the "preserveAspectRatio" and "viewBox" attributes to the svg tag of the image itself. To do this, open a picture for example Inkscape and do like this
Replace the width and height values with their default values for the viewBox, I usually set the dimensions from the svg tag itself.
Now the picture will be scaled.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question