From e104614a8570f196dcdae8b1686c96d2a594ddbf Mon Sep 17 00:00:00 2001
From: Roan <29734170+14ROVI@users.noreply.github.com>
Date: Wed, 10 Dec 2025 03:37:52 +0000
Subject: [PATCH] Consistent border radius and padding from edge of screen for
in game UI (#2576)
## Description:
Moves all the in game ui to have a fixed padding around the edge of the
screen and also makes all the in game ui have the same border radius.
Before:
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:
`rovi.`
---
src/client/graphics/layers/EventsDisplay.ts | 14 ++++++--------
src/client/graphics/layers/GameLeftSidebar.ts | 8 ++++----
src/client/graphics/layers/GameRightSidebar.ts | 2 +-
src/client/graphics/layers/PlayerInfoOverlay.ts | 2 +-
src/client/index.html | 4 ++--
5 files changed, 14 insertions(+), 16 deletions(-)
diff --git a/src/client/graphics/layers/EventsDisplay.ts b/src/client/graphics/layers/EventsDisplay.ts
index c8276491e..3cbaee2c3 100644
--- a/src/client/graphics/layers/EventsDisplay.ts
+++ b/src/client/graphics/layers/EventsDisplay.ts
@@ -974,32 +974,30 @@ export class EventsDisplay extends LitElement implements Layer {
${this._hidden
? html`
-