Remove old container sizing comment

Co-authored-by: James Salter <jamess@element.io>
This commit is contained in:
Germain 2021-07-21 09:13:12 +01:00 committed by GitHub
parent a7cd5fc49b
commit b31b8f1b41
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -361,7 +361,6 @@ export default class MImageBody extends React.Component<IBodyProps, IState> {
const thumbnail = (
<div className="mx_MImageBody_thumbnail_container" style={{ maxHeight: maxHeight + "px", maxWidth: maxWidth + "px" }} >
{ /* Calculate aspect ratio, using %padding will size _container correctly */ }
{ showPlaceholder &&
<div className="mx_MImageBody_thumbnail" style={{
// Constrain width here so that spinner appears central to the loaded thumbnail