Add svg icon mixin

pull/6152/head
Coen van der Kamp 2020-06-09 21:57:09 +02:00 zatwierdzone przez Dan Braghis
rodzic cfc2bc8470
commit 8052c93795
1 zmienionych plików z 5 dodań i 0 usunięć

Wyświetl plik

@ -106,6 +106,11 @@
margin-right: 0.2em;
}
@mixin svg-icon ($size: 1.5em) {
width: $size;
height: $size;
vertical-align: text-top;
}
// Applies given rules on hover, except for touch screens.
// Relies on feature detection to add a no-touch class on the html element.