Compare commits
2 commits
a734c1dc5a
...
b3411c502c
Author | SHA1 | Date | |
---|---|---|---|
|
b3411c502c | ||
|
7aeb739d26 |
1 changed files with 1 additions and 1 deletions
|
@ -89,7 +89,7 @@ const MediaAttachmentGrid: Component<{
|
|||
const realHeight = height && height > maxHeight ? maxHeight : height;
|
||||
const realWidth =
|
||||
width && height && height > maxHeight
|
||||
? maxHeight * (aspectRatio ?? 1)
|
||||
? maxHeight / (aspectRatio ?? 1)
|
||||
: width;
|
||||
const style = () =>
|
||||
loaded()
|
||||
|
|
Loading…
Reference in a new issue