Adjust comment
This commit is contained in:
parent
b41b9aa4fa
commit
d11442de04
1 changed files with 1 additions and 2 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue