diff options
author | Paul Frazee <pfrazee@gmail.com> | 2023-12-07 13:03:34 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-07 13:03:34 -0800 |
commit | 972bc1bd880249acd62579cfd5760a12a42bf5ff (patch) | |
tree | 8cd42d889b73fbf04be0f0dffe2c319b2d61627e /src | |
parent | 5b19e2b90b6d75865321f11571a3d6bd65422dae (diff) | |
download | voidsky-972bc1bd880249acd62579cfd5760a12a42bf5ff.tar.zst |
Increase the maximum ratio of images from 5:1 to 10:1 (#2131)
Diffstat (limited to 'src')
-rw-r--r-- | src/view/com/util/images/AutoSizedImage.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/view/com/util/images/AutoSizedImage.tsx b/src/view/com/util/images/AutoSizedImage.tsx index b5b6c1b52..6f203bf06 100644 --- a/src/view/com/util/images/AutoSizedImage.tsx +++ b/src/view/com/util/images/AutoSizedImage.tsx @@ -6,7 +6,7 @@ import {Dimensions} from 'lib/media/types' import * as imageSizes from 'lib/media/image-sizes' const MIN_ASPECT_RATIO = 0.33 // 1/3 -const MAX_ASPECT_RATIO = 5 // 5/1 +const MAX_ASPECT_RATIO = 10 // 10/1 interface Props { alt?: string |