Fix A/B button spacing in landscape by restoring constrained ab-cluster size
This commit is contained in:
@@ -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; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user