You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-05 23:10:41 +03:00
Adjust comment
This commit is contained in:
@@ -260,8 +260,7 @@ export default class extends React.Component {
|
|||||||
{ /* Calculate aspect ratio, using %padding will size _container correctly */ }
|
{ /* Calculate aspect ratio, using %padding will size _container correctly */ }
|
||||||
<div style={{ paddingBottom: (100 * content.info.h / content.info.w) + '%' }}></div>
|
<div style={{ paddingBottom: (100 * content.info.h / content.info.w) + '%' }}></div>
|
||||||
|
|
||||||
{ /* Thumbnail CSS class resizes to exactly container size with inline CSS
|
{ /* mx_MImageBody_thumbnail resizes img to exactly container size */ }
|
||||||
to restrict width */ }
|
|
||||||
{ img }
|
{ img }
|
||||||
</div>
|
</div>
|
||||||
</a> : null;
|
</a> : null;
|
||||||
|
|||||||
Reference in New Issue
Block a user