Increase the maximum ratio of images from 5:1 to 10:1 (#2131)

zio/stable
Paul Frazee 2023-12-07 13:03:34 -08:00 committed by GitHub
parent 5b19e2b90b
commit 972bc1bd88
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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