SVG sprite symbols
See original GitHub issue Какая то не обычная проблема. Иконки перестают растягиваться в 100%. Причем если заменить, 100 на 24 то все встает в норму …
Работает если в свг будет только такой формат
<?xml version="1.0" encoding="utf-8"?>
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 24 24" style="enable-background:new 0 0 24 24;" xml:space="preserve">
и понять н могу почему ранее он жаловался на viewBox так как с
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="24" height="24" viewBox="0 0 24 24">```
уже не работает. Это теперь все иконки перекраивать ?
Issue Analytics
- State:
- Created 5 years ago
- Comments:17 (6 by maintainers)
Top Results From Across the Web
Icon System with SVG Sprites - CSS-Tricks
Icon System with SVG Sprites · Combine the .svg files · Inject that SVG at the top of the document · Use the...
Read more >The power of sprites - The complete guide to SVG
To create a sprite in SVG we use the <symbol> tag and apply an ID for referencing later and the viewBox attribute for...
Read more >How to Use SVG Image Sprites - SitePoint
Learn how SVG sprites work and why they're so awesome. ... SVGs are ideal for logos, diagrams, and icons for several reasons:.
Read more >SVG Sprites | Font Awesome Docs
We'll cover the basic of adding icons as SVG sprites, and cover the sticking points of using SVG sprites to help you ensure...
Read more >The guide to integrating and styling icon systems — SVG ...
An SVG image sprite is an SVG file containing multiple images (e.g., icons). Unlike SVG symbols (more on this technique later), the images ......
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 Free
Top 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
@Folo4ka @aleksandr-guryanov Готово) Вот изменения, которые нужно применить в текущем проекте, чтобы не обновлять его череp tars-cli — https://github.com/tars/tars/commit/8eea0d5e9ec28e70547bde365fc7d647c15053c3
@aleksandr-guryanov нет, он был уже) Просто API плагина другое. По доке он старый формат тоже поддерживал, а на деле оказалось, что нет)