From 3478b3ab13b091b61aa79e2c9d79e438f5c8e6fa Mon Sep 17 00:00:00 2001 From: Aotumuri Date: Sun, 26 Oct 2025 06:35:24 +0900 Subject: [PATCH] Fix: Prevent unbind button overflow and wrap long text in keybind settings (#2287) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Description: This PR fixes layout issues in the User Settings → Keybind section where the “Unbind” button text would overflow in languages with long translations (e.g., Italian). before スクリーンショット 2025-10-25 15 42 09 after スクリーンショット 2025-10-25 15 41 47 ## 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 ## Please put your Discord username so you can be contacted if a bug or regression is found: aotumuri Co-authored-by: Evan --- .../baseComponents/setting/SettingKeybind.ts | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/src/client/components/baseComponents/setting/SettingKeybind.ts b/src/client/components/baseComponents/setting/SettingKeybind.ts index 4e102ee0b..f498c4e3f 100644 --- a/src/client/components/baseComponents/setting/SettingKeybind.ts +++ b/src/client/components/baseComponents/setting/SettingKeybind.ts @@ -23,12 +23,19 @@ export class SettingKeybind extends LitElement {
-
-
${this.description}
+
+
+ ${this.description} +
-
+