mirror of https://github.com/vector-im/riot-web
Remove old container sizing comment
Co-authored-by: James Salter <jamess@element.io>pull/21833/head
parent
a7cd5fc49b
commit
b31b8f1b41
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue