Relocate A/B button positions in portrait layout
This commit is contained in:
@@ -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,7 +213,7 @@ 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);
|
||||||
@@ -222,9 +221,8 @@ html, body {
|
|||||||
|
|
||||||
#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;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user