Merge pull request #1125 from BeatC/small-avatar-images
Fixed problem with resizing thumb avatars
This commit is contained in:
commit
42604971dc
|
@ -66,6 +66,14 @@
|
||||||
@include transform(translate(-50%, -50%))
|
@include transform(translate(-50%, -50%))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Defines the maximum width and height
|
||||||
|
**/
|
||||||
|
@mixin maxSize($value) {
|
||||||
|
max-width: $value;
|
||||||
|
max-height: $value;
|
||||||
|
}
|
||||||
|
|
||||||
@mixin transform($func) {
|
@mixin transform($func) {
|
||||||
-moz-transform: $func;
|
-moz-transform: $func;
|
||||||
-ms-transform: $func;
|
-ms-transform: $func;
|
||||||
|
|
|
@ -399,7 +399,8 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.userAvatar {
|
.userAvatar {
|
||||||
@include circle(60px);
|
@include maxSize(60px);
|
||||||
|
@include circle(50%);
|
||||||
@include absoluteAligning();
|
@include absoluteAligning();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue