fix(Thumbnail):limit the size of the avatar to 200
This commit is contained in:
parent
2bf3089dbf
commit
fd7b6f457e
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue