mirror of
https://github.com/vector-im/element-web.git
synced 2025-08-21 22:41:07 +02:00
Remove old container sizing comment
Co-authored-by: James Salter <jamess@element.io>
This commit is contained in:
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…
x
Reference in New Issue
Block a user