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