Fixed minor typo in comment
This commit is contained in:
parent
54f9231582
commit
5e9db3647a
1 changed files with 1 additions and 1 deletions
|
@ -293,7 +293,7 @@ export default class MImageBody extends React.Component {
|
|||
if (thumbUrl && !this.state.imgError) {
|
||||
// Restrict the width of the thumbnail here, otherwise it will fill the container
|
||||
// which has the same width as the timeline
|
||||
// mx_MImageBody_ resizes img to exactly container size
|
||||
// mx_MImageBody_thumbnail resizes img to exactly container size
|
||||
img = <img className="mx_MImageBody_thumbnail" src={thumbUrl} ref="image"
|
||||
style={{ maxWidth: maxWidth + "px" }}
|
||||
alt={content.body}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue