Remove old container sizing comment

Co-authored-by: James Salter <jamess@element.io>
pull/21833/head
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
1 changed files with 0 additions and 1 deletions

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