From fd7b6f457ea467e224bbc0e5518360b6a00d5ef2 Mon Sep 17 00:00:00 2001 From: Hristo Terezov Date: Wed, 25 Jan 2023 15:54:58 +0200 Subject: [PATCH] fix(Thumbnail):limit the size of the avatar to 200 --- react/features/filmstrip/components/web/Thumbnail.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/react/features/filmstrip/components/web/Thumbnail.tsx b/react/features/filmstrip/components/web/Thumbnail.tsx index 5c103b1457..4785c2c706 100644 --- a/react/features/filmstrip/components/web/Thumbnail.tsx +++ b/react/features/filmstrip/components/web/Thumbnail.tsx @@ -665,7 +665,7 @@ class Thumbnail extends Component { video: {} }; - const avatarSize = Math.min(_height / 2, _width - 30); + const avatarSize = Math.min(_height / 2, _width - 30, 200); let { left } = style || {}; if (typeof left === 'number' && horizontalOffset) {