From b48c5472c57dee13b7c8222fe3c439f4a2addf14 Mon Sep 17 00:00:00 2001 From: Aotumuri Date: Wed, 6 Aug 2025 10:04:19 +0900 Subject: [PATCH] Fix: Modal background color does not cover entire content when alwaysMaximized is set (#1710) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Description: This PR fixes a visual bug where, when the `alwaysMaximized` property is enabled on the modal component (`o-modal`), the background color does not cover the entire content area, especially when the content is scrollable or overflows. before It is noticeable that a black border appears between the first and second lines from the bottom スクリーンショット 2025-08-05 17 03 16 after スクリーンショット 2025-08-05 17 06 54 ## Please complete the following: - [x] I have added screenshots for all UI updates - [x] I process any text displayed to the user through translateText() and I've added it to the en.json file - [x] I have added relevant tests to the test directory - [x] I confirm I have thoroughly tested these changes and take full responsibility for any bugs introduced - [x] I have read and accepted the CLA agreement (only required once). ## Please put your Discord username so you can be contacted if a bug or regression is found: aotumuri --- src/client/components/baseComponents/Modal.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/components/baseComponents/Modal.ts b/src/client/components/baseComponents/Modal.ts index 0841b4ba4..ae58d9078 100644 --- a/src/client/components/baseComponents/Modal.ts +++ b/src/client/components/baseComponents/Modal.ts @@ -26,7 +26,6 @@ export class OModal extends LitElement { } .c-modal__wrapper { - background: #23232382; border-radius: 8px; min-width: 340px; max-width: 860px; @@ -62,6 +61,7 @@ export class OModal extends LitElement { } .c-modal__content { + background: #23232382; position: relative; color: #fff; padding: 1.4rem;