Skip to content

Commit 14ebf2c

Browse files
committed
feat(sanity): allow image input block size to extend to 30vh
1 parent 6b8a76f commit 14ebf2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/sanity/src/core/form/inputs/files/ImageInput/ImagePreview.styled.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export const RatioBox = styled(Card)`
55
position: relative;
66
width: 100%;
77
min-height: 3.75rem;
8-
max-height: min(calc(var(--image-height) * 1px), 20rem);
8+
max-height: min(calc(var(--image-height) * 1px), 30vh);
99
aspect-ratio: var(--image-width) / var(--image-height);
1010
1111
& img {

0 commit comments

Comments
 (0)