Adjust comment

pull/21833/head
Luke Barnard 2018-05-18 10:15:59 +01:00
parent b41b9aa4fa
commit d11442de04
1 changed files with 1 additions and 2 deletions

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;