Skip to content
Snippets Groups Projects
Commit b58c7b56 authored by Jan-Hendrik Willms's avatar Jan-Hendrik Willms
Browse files

fix background size declaration, fixes #116

parent 5e7a8a39
No related branches found
No related tags found
No related merge requests found
......@@ -72,7 +72,13 @@
$svg: icon-path($icon, $role);
background-image: url("#{$svg}");
background-size: $size;
@if $size {
@if unitless($size) {
$size: $size * 1px;
}
background-size: $size;
}
}
@mixin icon($position, $icon, $role, $size: 16px, $padding: 0) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment