Increase the maximum ratio of images from 5:1 to 10:1 (#2131)
parent
5b19e2b90b
commit
972bc1bd88
|
@ -6,7 +6,7 @@ import {Dimensions} from 'lib/media/types'
|
||||||
import * as imageSizes from 'lib/media/image-sizes'
|
import * as imageSizes from 'lib/media/image-sizes'
|
||||||
|
|
||||||
const MIN_ASPECT_RATIO = 0.33 // 1/3
|
const MIN_ASPECT_RATIO = 0.33 // 1/3
|
||||||
const MAX_ASPECT_RATIO = 5 // 5/1
|
const MAX_ASPECT_RATIO = 10 // 10/1
|
||||||
|
|
||||||
interface Props {
|
interface Props {
|
||||||
alt?: string
|
alt?: string
|
||||||
|
|
Loading…
Reference in New Issue