From f395801f8a14b77436a584833ac39b0d3ab6957c Mon Sep 17 00:00:00 2001 From: Kouji Takao Date: Fri, 22 May 2026 21:13:59 +0900 Subject: [PATCH] fix(mobile): fill modal background white to hide overlay gap MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit モーダルコンテンツ(modal_modal-content)にデフォルトの背景色が設定 されていなかったため、prompt等でコンテンツ高さが100dvhより短い場合、 下部にオーバーレイ(青)が透けて見えていた。 background-color: #ffffff を追加して、未使用領域も白で埋める。 Co-Authored-By: Claude Sonnet 4.6 --- .../scratch-gui/src/components/mobile-gui/mobile-gui.css | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/packages/scratch-gui/src/components/mobile-gui/mobile-gui.css b/packages/scratch-gui/src/components/mobile-gui/mobile-gui.css index d83e88d40f..a83926bb74 100644 --- a/packages/scratch-gui/src/components/mobile-gui/mobile-gui.css +++ b/packages/scratch-gui/src/components/mobile-gui/mobile-gui.css @@ -371,6 +371,12 @@ display: flex !important; flex-direction: column !important; overflow: hidden !important; + /* + * モーダルコンテンツの背景色を白に設定する。 + * prompt 等のモーダルはコンテンツ高さが 100dvh より短い場合があり、 + * 残領域がオーバーレイ (青) を透かして見えてしまうのを防ぐ。 + */ + background-color: #ffffff !important; } /*