Relocate A/B button positions in portrait layout

This commit is contained in:
Justin Oros
2026-05-20 23:35:07 -07:00
parent d1600f29cf
commit 4dd3bdb924
+5 -21
View File
@@ -203,7 +203,6 @@ html, body {
/* ── PORTRAIT: two panels fixed at bottom ── */ /* ── PORTRAIT: two panels fixed at bottom ── */
@media (orientation: portrait) { @media (orientation: portrait) {
#gba-left, #gba-right { #gba-left, #gba-right {
position: fixed; position: fixed;
bottom: 0; bottom: 0;
@@ -214,18 +213,17 @@ html, body {
#gba-left { #gba-left {
left: 0; left: 0;
width: 52%; width: 65%;
justify-content: space-evenly; justify-content: space-evenly;
align-items: center; align-items: center;
padding: 0 8px max(8px, var(--safe-bottom)) clamp(8px, 3vw, 20px); padding: 0 8px max(8px,var(--safe-bottom)) clamp(8px,3vw,20px);
} }
#gba-right { #gba-right {
right: 0; right: 0;
width: 48%; width: 35%;
justify-content: flex-start; justify-content: center;
align-items: center; padding: 0 clamp(8px,3vw,20px) max(8px,var(--safe-bottom)) 8px;
padding: 0 clamp(8px, 3vw, 20px) max(8px, var(--safe-bottom)) 8px;
} }
#gba-left .gba-mid-btns { #gba-left .gba-mid-btns {
@@ -234,20 +232,6 @@ html, body {
margin-top: 0; margin-top: 0;
width: auto; width: auto;
} }
.ab-cluster {
transform: translateX(-18px);
}
.ab-b {
left: -20%;
bottom: 22%;
}
.ab-a {
right: -10%;
top: 12%;
}
} }
@media (min-width: 900px) { @media (min-width: 900px) {