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
+3 -19
View File
@@ -203,7 +203,6 @@ html, body {
/* ── PORTRAIT: two panels fixed at bottom ── */
@media (orientation: portrait) {
#gba-left, #gba-right {
position: fixed;
bottom: 0;
@@ -214,7 +213,7 @@ html, body {
#gba-left {
left: 0;
width: 52%;
width: 65%;
justify-content: space-evenly;
align-items: center;
padding: 0 8px max(8px,var(--safe-bottom)) clamp(8px,3vw,20px);
@@ -222,9 +221,8 @@ html, body {
#gba-right {
right: 0;
width: 48%;
justify-content: flex-start;
align-items: center;
width: 35%;
justify-content: center;
padding: 0 clamp(8px,3vw,20px) max(8px,var(--safe-bottom)) 8px;
}
@@ -234,20 +232,6 @@ html, body {
margin-top: 0;
width: auto;
}
.ab-cluster {
transform: translateX(-18px);
}
.ab-b {
left: -20%;
bottom: 22%;
}
.ab-a {
right: -10%;
top: 12%;
}
}
@media (min-width: 900px) {