mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-10 09:15:16 +00:00
Fixed minor typo in comment
This commit is contained in:
@@ -293,7 +293,7 @@ export default class MImageBody extends React.Component {
|
|||||||
if (thumbUrl && !this.state.imgError) {
|
if (thumbUrl && !this.state.imgError) {
|
||||||
// Restrict the width of the thumbnail here, otherwise it will fill the container
|
// Restrict the width of the thumbnail here, otherwise it will fill the container
|
||||||
// which has the same width as the timeline
|
// 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"
|
img = <img className="mx_MImageBody_thumbnail" src={thumbUrl} ref="image"
|
||||||
style={{ maxWidth: maxWidth + "px" }}
|
style={{ maxWidth: maxWidth + "px" }}
|
||||||
alt={content.body}
|
alt={content.body}
|
||||||
|
|||||||
Reference in New Issue
Block a user