Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

Fixed problem with resizing thumb avatars

Ilya Daynatovichf09a9be52358
diff --git a/css/_mixins.scss b/css/_mixins.scss
index d5e8ac25b0..c8914a8db3 100644
--- a/css/_mixins.scss
+++ b/css/_mixins.scss
@@ -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;
diff --git a/css/_videolayout_default.scss b/css/_videolayout_default.scss
index 326e2a2c5b..dbc9afb475 100644
--- a/css/_videolayout_default.scss
+++ b/css/_videolayout_default.scss
@@ -399,7 +399,8 @@
}
.userAvatar {
- @include circle(60px);
+ @include maxSize(60px);
+ @include circle(50%);
@include absoluteAligning();
}