SCSS refactoring

followup on c388cac
This commit is contained in:
Penar Musaraj 2018-11-29 12:02:11 -05:00
parent 075d9fc558
commit 5b6c1b1670
2 changed files with 6 additions and 4 deletions

View File

@ -48,6 +48,7 @@
}
$size: 50px;
$icon-size: $size / 1.8;
.avatar-flair-image {
width: $size;
@ -63,8 +64,8 @@
justify-content: center;
.d-icon {
height: $size / 1.8;
width: $size / 1.8;
height: $icon-size;
width: $icon-size;
}
}
}

View File

@ -218,6 +218,7 @@
}
$size: 40px;
$icon-size: $size / 1.8;
.avatar-flair {
background-size: $size;
@ -229,8 +230,8 @@
justify-content: center;
.d-icon {
height: $size / 1.8;
width: $size / 1.8;
height: $icon-size;
width: $icon-size;
}
}