Resizing SVG
See original GitHub issueHello, I have a need to resize the svg to fit whatever container size it is in. I don’t see that option in the config
attribute. i see it is hard set in the source code and then it looks like it gets overwritten by getBoundingClientRect()
in src/components/background/VBackgroundGrid.vue
am i missing how to use this correctly? any help is appreciated
Issue Analytics
- State:
- Created a year ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
How to resize a SVG image
Open the SVG file with your text editor. It should show lines of code as below. ... As you can see, width and...
Read more >Resizing SVG in html?
Open your .svg file with a text editor (it's just XML), and look for something like this at the top: <svg ... width="50px"...
Read more >How to Scale SVG
Any height or width you set for the SVG with CSS will override the height and width attributes on the <svg> . So...
Read more >Free Online Resize SVG Images with High output Quality
How to resize SVG images using Aspose.Imaging Resize · Click inside the file drop area to upload SVG images or drag & drop...
Read more >Resize many SVG vector images online for free
Resize SVG. Resize SVG by defining new height and width pixels. Resize many SVG images at once online. Upload your file and transform...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi @Kade-Powell, Thank you for your reply. Perhaps the following
import
style.css line is missing in main.ts?For more information, please see here.
Best Regards,
Hello i was able to fix my issue by setting the v-canvas class in my containing component.