fix: disable zoom in game chat with touch-action
This commit is contained in:
@@ -11,6 +11,11 @@
|
|||||||
left: 0;
|
left: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
|
touch-action: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.game-page * {
|
||||||
|
touch-action: pan-y;
|
||||||
}
|
}
|
||||||
|
|
||||||
.game-error {
|
.game-error {
|
||||||
@@ -227,6 +232,7 @@
|
|||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
overscroll-behavior: contain;
|
overscroll-behavior: contain;
|
||||||
-webkit-overflow-scrolling: touch;
|
-webkit-overflow-scrolling: touch;
|
||||||
|
touch-action: pan-y;
|
||||||
padding: 1rem;
|
padding: 1rem;
|
||||||
padding-left: max(1rem, env(safe-area-inset-left));
|
padding-left: max(1rem, env(safe-area-inset-left));
|
||||||
padding-right: max(1rem, env(safe-area-inset-right));
|
padding-right: max(1rem, env(safe-area-inset-right));
|
||||||
@@ -459,6 +465,7 @@
|
|||||||
transition: height 0.1s ease;
|
transition: height 0.1s ease;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
line-height: 1.4;
|
line-height: 1.4;
|
||||||
|
touch-action: manipulation;
|
||||||
}
|
}
|
||||||
|
|
||||||
.input-container textarea:focus {
|
.input-container textarea:focus {
|
||||||
|
|||||||
Reference in New Issue
Block a user