mirror of
https://github.com/vector-im/element-web.git
synced 2025-08-21 14:31:09 +02:00
Grammar
This commit is contained in:
parent
fb5dd4a410
commit
c249bee9b5
@ -240,7 +240,7 @@ export default class extends React.Component {
|
||||
_messageContent(contentUrl, thumbUrl, content) {
|
||||
// The maximum height of the thumbnail as it is rendered as an <img>
|
||||
const maxHeight = Math.min(THUMBNAIL_MAX_HEIGHT, content.info.h);
|
||||
// The maximum width of the thumbnail, as dictated by it's natural
|
||||
// The maximum width of the thumbnail, as dictated by its natural
|
||||
// maximum height.
|
||||
const maxWidth = content.info.w * maxHeight / content.info.h;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user