1
0
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:
Luke Barnard
2018-05-18 10:15:59 +01:00
parent b41b9aa4fa
commit d11442de04

View File

@@ -260,8 +260,7 @@ export default class extends React.Component {
{ /* Calculate aspect ratio, using %padding will size _container correctly */ }
<div style={{ paddingBottom: (100 * content.info.h / content.info.w) + '%' }}></div>
{ /* Thumbnail CSS class resizes to exactly container size with inline CSS
to restrict width */ }
{ /* mx_MImageBody_thumbnail resizes img to exactly container size */ }
{ img }
</div>
</a> : null;