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; $size: 50px;
$icon-size: $size / 1.8;
.avatar-flair-image { .avatar-flair-image {
width: $size; width: $size;
@ -63,8 +64,8 @@
justify-content: center; justify-content: center;
.d-icon { .d-icon {
height: $size / 1.8; height: $icon-size;
width: $size / 1.8; width: $icon-size;
} }
} }
} }

View File

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