From 0b634e78c5b280f70e2746998adb07eba7efdf7f Mon Sep 17 00:00:00 2001 From: gilpop8663 Date: Sat, 7 Oct 2023 07:19:25 +0900 Subject: [PATCH] =?UTF-8?q?style:=20(#713)=20=EC=9D=B4=EB=AF=B8=EC=A7=80?= =?UTF-8?q?=20=EB=B0=98=EC=9D=91=ED=98=95=20=EB=90=98=EB=8F=84=EB=A1=9D=20?= =?UTF-8?q?CSS=20=EC=84=A4=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/components/common/ImageZoomModal/style.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/frontend/src/components/common/ImageZoomModal/style.ts b/frontend/src/components/common/ImageZoomModal/style.ts index 54c27c409..dc03d33e7 100644 --- a/frontend/src/components/common/ImageZoomModal/style.ts +++ b/frontend/src/components/common/ImageZoomModal/style.ts @@ -37,9 +37,6 @@ export const CloseButton = styled.button` export const Dialog = styled.dialog` position: fixed; - width: min(fit-content, 50vw); - height: 100%; - max-height: 80vh; margin: auto; overflow: visible; @@ -63,6 +60,7 @@ export const Container = styled.div` export const Image = styled.img` width: 100%; height: 100%; + max-height: 80vh; object-fit: contain; `;