Fixed problem with resizing thumb avatars

This commit is contained in:
Ilya Daynatovich
2016-11-08 13:36:43 +02:00
parent 38e44440d0
commit f09a9be523
2 changed files with 10 additions and 1 deletions
+8
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;
+2 -1
View File
@@ -399,7 +399,8 @@
}
.userAvatar {
@include circle(60px);
@include maxSize(60px);
@include circle(50%);
@include absoluteAligning();
}