From 1d5d721c5064a05317935b8875faaba2ba88ec07 Mon Sep 17 00:00:00 2001 From: evanpelle Date: Thu, 17 Jul 2025 14:57:38 -0700 Subject: [PATCH] fix control panel & events display scaling on mobile (#1471) ## Description: The Control panel & events display were not scaling properly on mobile, now when screen is small enough they take the entire width, this keeps the behavior in line with v23. ## 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 aggreement (only required once). ## Please put your Discord username so you can be contacted if a bug or regression is found: evan --- src/client/graphics/layers/ControlPanel.ts | 8 ++++---- src/client/graphics/layers/EventsDisplay.ts | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/client/graphics/layers/ControlPanel.ts b/src/client/graphics/layers/ControlPanel.ts index a9d83dc1e..0f2f8f629 100644 --- a/src/client/graphics/layers/ControlPanel.ts +++ b/src/client/graphics/layers/ControlPanel.ts @@ -212,11 +212,11 @@ export class ControlPanel extends LitElement implements Layer {
e.preventDefault()} > -