From 4c34edd31ce4774026fd64309cc86431737bb3b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=9D=B4=ED=83=9C=ED=9B=88?= Date: Mon, 22 Jun 2026 13:08:27 +0900 Subject: [PATCH] fix: constrain layout map image sizing to prevent modal overflow --- src/components/Modal/modal.css | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/components/Modal/modal.css b/src/components/Modal/modal.css index 52d7d9f..af7bf1b 100644 --- a/src/components/Modal/modal.css +++ b/src/components/Modal/modal.css @@ -537,6 +537,8 @@ background-color: var(--canvas-soft-2); border-radius: 4px; overflow: hidden; + max-width: 100%; + max-height: 100%; } .layout-map-container.readonly { @@ -546,12 +548,15 @@ .image-marker-wrapper { position: relative; display: inline-block; + max-width: 100%; + max-height: 100%; } .layout-map-img { display: block; max-width: 100%; - max-height: 75vh; + max-height: 70vh; + object-fit: contain; user-select: none; -webkit-user-drag: none; }