From e702c7dc2301aa550f67d1158f805ddcc17f9c6a Mon Sep 17 00:00:00 2001 From: Ryan Barlow Date: Sat, 3 Jan 2026 21:42:34 +0000 Subject: [PATCH] maximise the button --- src/client/graphics/layers/StructureIconsLayer.ts | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/client/graphics/layers/StructureIconsLayer.ts b/src/client/graphics/layers/StructureIconsLayer.ts index 441c86274..26acb0698 100644 --- a/src/client/graphics/layers/StructureIconsLayer.ts +++ b/src/client/graphics/layers/StructureIconsLayer.ts @@ -622,11 +622,17 @@ export class StructureIconsLayer implements Layer { button.textContent = label; button.style.minHeight = "48px"; button.style.minWidth = "48px"; - button.style.padding = "8px 16px"; + button.style.height = "48px"; + button.style.width = "48px"; + button.style.padding = "0"; + button.style.display = "flex"; + button.style.alignItems = "center"; + button.style.justifyContent = "center"; button.style.borderRadius = "6px"; button.style.border = "none"; button.style.fontWeight = "700"; - button.style.fontSize = "13px"; + button.style.fontSize = "26px"; + button.style.lineHeight = "1"; button.style.color = "#ffffff"; button.style.background = background; button.style.cursor = "pointer";