mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-03-09 22:20:48 +01:00
fix: have width and height defined in user-icon-style mixin
This commit is contained in:
@@ -80,9 +80,7 @@
|
||||
@include user-icon;
|
||||
|
||||
$size: var(--avatar-size);
|
||||
width: $size;
|
||||
height: $size;
|
||||
@include user-icon-style($line-height-base, calc($size * 0.6));
|
||||
@include user-icon-style($size, calc($size * 0.6));
|
||||
|
||||
&.avatar-rounded {
|
||||
border-radius: 50%;
|
||||
|
||||
@@ -68,6 +68,8 @@
|
||||
|
||||
@mixin user-icon-style($size: 32px, $font-size: 1.5rem, $border-radius: inherit){
|
||||
border-radius: $border-radius;
|
||||
width: $size;
|
||||
height: $size;
|
||||
line-height: $size;
|
||||
font-size: $font-size;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user