Merge pull request #1125 from BeatC/small-avatar-images

Fixed problem with resizing thumb avatars
This commit is contained in:
yanas 2016-11-10 13:12:03 -06:00 committed by GitHub
commit 42604971dc
2 changed files with 10 additions and 1 deletions

View File

@ -66,6 +66,14 @@
@include transform(translate(-50%, -50%))
}
/**
* Defines the maximum width and height
**/
@mixin maxSize($value) {
max-width: $value;
max-height: $value;
}
@mixin transform($func) {
-moz-transform: $func;
-ms-transform: $func;

View File

@ -399,7 +399,8 @@
}
.userAvatar {
@include circle(60px);
@include maxSize(60px);
@include circle(50%);
@include absoluteAligning();
}