Relocate A/B button positions in portrait layout
This commit is contained in:
1 parent
d1600f29cf
commit
4dd3bdb924
1 file changed
+3
-19
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user