From 5f239653e06f27ef5ff2d159b6b29d7aa93d7739 Mon Sep 17 00:00:00 2001 From: Cay Date: Tue, 17 Mar 2026 15:43:45 +0000 Subject: [PATCH] rjrst --- public/js/buildings/arena.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/public/js/buildings/arena.js b/public/js/buildings/arena.js index b4bdcaf..f02472c 100644 --- a/public/js/buildings/arena.js +++ b/public/js/buildings/arena.js @@ -40,12 +40,13 @@ function initArenaModes() { card.addEventListener("click", () => { const mode = card.dataset.mode; if (mode === "1v1") { - const width = window.screen.width; - const height = window.screen.height; + const margin = 50; + const width = window.screen.width - margin * 2; + const height = window.screen.height - margin * 2; const tab = window.open( "/arena/1v1", "_blank", - `width=${width},height=${height},left=0,top=0`, + `width=${width},height=${height},left=${margin},top=${margin}`, ); tab?.focus(); } else {