question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

SVG sprite symbols

See original GitHub issue

image Какая то не обычная проблема. Иконки перестают растягиваться в 100%. Причем если заменить, 100 на 24 то все встает в норму … image

Работает если в свг будет только такой формат

<?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:closed
  • Created 5 years ago
  • Comments:17 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
artem-malkocommented, Jun 17, 2018

@Folo4ka @aleksandr-guryanov Готово) Вот изменения, которые нужно применить в текущем проекте, чтобы не обновлять его череp tars-cli — https://github.com/tars/tars/commit/8eea0d5e9ec28e70547bde365fc7d647c15053c3

0reactions
artem-malkocommented, Jun 18, 2018

@aleksandr-guryanov нет, он был уже) Просто API плагина другое. По доке он старый формат тоже поддерживал, а на деле оказалось, что нет)

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found