From 37a8fa2755d87596749d4e1efa0d3c39b8cd1f6f Mon Sep 17 00:00:00 2001 From: Justin Oros Date: Thu, 21 May 2026 09:30:25 -0700 Subject: [PATCH] Fix A/B button spacing in landscape by restoring constrained ab-cluster size --- style.css | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/style.css b/style.css index e7eac2f..4cb2bbf 100644 --- a/style.css +++ b/style.css @@ -742,11 +742,10 @@ html, body { .gba-controller.hidden { display: none; } .dpad { width: clamp(72px, 16vh, 100px); height: clamp(72px, 16vh, 100px); } - .ab-cluster { position: static; width: 100%; height: 100%; flex: 1; } - #gba-right { position: relative; } + .ab-cluster { position: relative; width: clamp(90px, 21vw, 120px); height: clamp(90px, 21vw, 120px); flex: none; } #gba-right .ab-btn { position: absolute; } - #gba-right .ab-b { bottom: 30%; left: 5%; top: auto; transform: none; } - #gba-right .ab-a { top: 30%; right: 5%; transform: none; } + #gba-right .ab-b { bottom: 14%; left: 5%; top: auto; transform: none; } + #gba-right .ab-a { top: 14%; right: 5%; transform: none; } .gba-mid-btns { flex-direction: column; gap: 5px; } .gba-mid-btn { min-width: 44px; width: 44px; font-size: 5px; padding: 6px 4px; } }