From 086a7e900029decddf46558ee8b2622c2bdc6648 Mon Sep 17 00:00:00 2001
From: FloPinguin <25036848+FloPinguin@users.noreply.github.com>
Date: Mon, 16 Feb 2026 19:00:25 +0100
Subject: [PATCH] =?UTF-8?q?Improve=20mobile=20UI=20=E2=9C=A8=20(#3217)?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
## Description:
### Leaderboard cut off
Previous:
Now:
### Attack ratio popup cut off
Previous:
Now:
Also fixed this text overlap problem on boat retreat:
## 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:
FloPinguin
---
src/client/graphics/layers/AttacksDisplay.ts | 8 ++--
src/client/graphics/layers/ControlPanel.ts | 48 +++++++++----------
src/client/graphics/layers/GameLeftSidebar.ts | 4 +-
src/client/graphics/layers/Leaderboard.ts | 2 +-
4 files changed, 30 insertions(+), 32 deletions(-)
diff --git a/src/client/graphics/layers/AttacksDisplay.ts b/src/client/graphics/layers/AttacksDisplay.ts
index 2bca5e1b5..f77411e55 100644
--- a/src/client/graphics/layers/AttacksDisplay.ts
+++ b/src/client/graphics/layers/AttacksDisplay.ts
@@ -297,7 +297,7 @@ export class AttacksDisplay extends LitElement implements Layer {
className: "ml-auto text-left shrink-0",
disabled: attack.retreating,
})
- : html`(${translateText("events_display.retreating")}...)`}
@@ -334,7 +334,7 @@ export class AttacksDisplay extends LitElement implements Layer {
className: "ml-auto text-left shrink-0",
disabled: landAttack.retreating,
})
- : html`(${translateText("events_display.retreating")}...)`}
@@ -389,7 +389,7 @@ export class AttacksDisplay extends LitElement implements Layer {
className: "ml-auto text-left shrink-0",
disabled: boat.retreating(),
})
- : html`(${translateText("events_display.retreating")}...)`}
@@ -441,7 +441,7 @@ export class AttacksDisplay extends LitElement implements Layer {
return html`