fix(Thumbnail):limit the size of the avatar to 200

This commit is contained in:
Hristo Terezov 2023-01-25 15:54:58 +02:00
parent 2bf3089dbf
commit fd7b6f457e
1 changed files with 1 additions and 1 deletions

View File

@ -665,7 +665,7 @@ class Thumbnail extends Component<IProps, IState> {
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) {