Fixed problem with resizing thumb avatars
This commit is contained in:
parent
38e44440d0
commit
f09a9be523
|
@ -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;
|
||||
|
|
|
@ -399,7 +399,8 @@
|
|||
}
|
||||
|
||||
.userAvatar {
|
||||
@include circle(60px);
|
||||
@include maxSize(60px);
|
||||
@include circle(50%);
|
||||
@include absoluteAligning();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue