Allow for very tall portrait images in lightbox
This commit is contained in:

committed by
Josh Perez

parent
460ca0c585
commit
9f9ce91a9c
@@ -78,7 +78,7 @@ const styles = {
|
|||||||
} as React.CSSProperties,
|
} as React.CSSProperties,
|
||||||
object: {
|
object: {
|
||||||
flexGrow: 1,
|
flexGrow: 1,
|
||||||
flexShrink: 0,
|
flexShrink: 1,
|
||||||
maxWidth: '100%',
|
maxWidth: '100%',
|
||||||
maxHeight: '100%',
|
maxHeight: '100%',
|
||||||
objectFit: 'contain',
|
objectFit: 'contain',
|
||||||
|
Reference in New Issue
Block a user