You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It will be usefull to generate css, less or any other stylesheet for sprites, for e.g.:
icon--arrow {
width: 32px;
height: 64px;
}
where width and height based on svg size attributes or viewBox.
The problem for me is that when inserting sprites via the <use> tag, it has default SVG dimensions (300*150) no matter what size the icon is, so I need to manually write the dimensions for each icon in my stylesheets.
If this feature is welcomed, I may try to do some PR.
The text was updated successfully, but these errors were encountered:
It will be usefull to generate css, less or any other stylesheet for sprites, for e.g.:
where width and height based on svg size attributes or viewBox.
The problem for me is that when inserting sprites via the
<use>
tag, it has default SVG dimensions (300*150) no matter what size the icon is, so I need to manually write the dimensions for each icon in my stylesheets.If this feature is welcomed, I may try to do some PR.
The text was updated successfully, but these errors were encountered: