Optimise an SVG icon

This commit is contained in:
Pizzacus 2019-07-09 14:12:56 +02:00
parent 864ec100d5
commit f8f2c3492b
No known key found for this signature in database
GPG Key ID: FD67786AA60FA0EE
2 changed files with 3 additions and 3 deletions

View File

@ -1,3 +1,3 @@
<svg xmlns="http://www.w3.org/2000/svg" class="greater-icon" width="44" height="44" viewBox="0 0 44 44">
<polyline fill="none" stroke="#000" stroke-width="2" points="15 8 29.729 22.382 15 35.367"/>
<svg xmlns="http://www.w3.org/2000/svg" class="greater-icon" viewBox="0 0 44 44">
<path fill="none" d="M15 8l14.729 14.382L15 35.367"/>
</svg>

Before

Width:  |  Height:  |  Size: 207 B

After

Width:  |  Height:  |  Size: 145 B

View File

@ -26,7 +26,7 @@
width: $width;
height: $height;
polyline {
path {
stroke: currentColor;
stroke-width: $stroke-width;
}