From 5f1980241f024f3f6321a21a92239a69c62be6f6 Mon Sep 17 00:00:00 2001 From: Matchu Date: Tue, 25 May 2021 05:47:58 -0700 Subject: [PATCH] Oops, don't stretch preview when showing error Right, oops, if you typed an invalid image url, the preview square would try to stretch to match! Now, it has a max-height to match its max-width. --- src/app/OutfitUrlsPage.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/app/OutfitUrlsPage.js b/src/app/OutfitUrlsPage.js index 58af22b..ddbfaea 100644 --- a/src/app/OutfitUrlsPage.js +++ b/src/app/OutfitUrlsPage.js @@ -235,6 +235,7 @@ function SingleImageConverter() { gridArea="preview" width={{ base: "100%", md: "150px" }} maxWidth={{ base: "300px", md: "150px" }} + maxHeight={{ base: "300px", md: "150px" }} ratio={1} background={previewBackground} borderRadius="md"