From fe89713f46433f82546d6d78f1fde3f222f3afab Mon Sep 17 00:00:00 2001
From: FloPinguin <25036848+FloPinguin@users.noreply.github.com>
Date: Sat, 7 Mar 2026 22:01:18 +0100
Subject: [PATCH] =?UTF-8?q?Fix=20UI=20(again)=20=F0=9F=96=8C=EF=B8=8F=20(#?=
=?UTF-8?q?3379)?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
## Description:
**Fix UI spacing and border radius across multiple screen sizes**
- Fix events panel missing right margin on wide screens
- Fix incorrect border radius on events panel and control panel at
various breakpoints
- Remove border radius from attack/boat elements on small screens
- Show running attacks above the events panel on mobile
- Add left/right margin to the homepage on tablet-sized screens
- Adjust lobby card spacing on mobile
Previous
After
Previous
After
Previous
After
Previous
After
Previous
After
Previous
After
## 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
---
index.html | 14 ++++++++------
src/client/GameModeSelector.ts | 2 +-
src/client/components/MainLayout.ts | 2 +-
src/client/components/PlayPage.ts | 2 +-
src/client/graphics/layers/AttacksDisplay.ts | 12 ++++++------
src/client/graphics/layers/EventsDisplay.ts | 6 ++++--
6 files changed, 21 insertions(+), 17 deletions(-)
diff --git a/index.html b/index.html
index c5d47ffa5..7c587b0f2 100644
--- a/index.html
+++ b/index.html
@@ -273,22 +273,24 @@
padding-right: env(safe-area-inset-right);
"
>
-
+