fix(game-ui): 자동 화면 폭과 검색 포커스 확대를 바로잡음
Ref의 700px 자동 판정과 940px 레이아웃 경계를 연결하고 태블릿에서 1000px 모드를 선택한다. 검색 입력에는 pinch zoom을 보존하는 touch-action 계약을 적용한다.
This commit is contained in:
@@ -63,6 +63,15 @@ textarea {
|
||||
font: inherit;
|
||||
}
|
||||
|
||||
/*
|
||||
* Firefox for Android may zoom to a focused search field. `manipulation`
|
||||
* suppresses that focus-only zoom while retaining ordinary pan and pinch zoom.
|
||||
*/
|
||||
input[type='search'],
|
||||
input[inputmode='search'] {
|
||||
touch-action: manipulation;
|
||||
}
|
||||
|
||||
/*
|
||||
* Ref's `.bg0/.bg1/.bg2` set a background image and nothing else, so the
|
||||
* element stays transparent where the texture does not cover it. Adding a
|
||||
|
||||
Reference in New Issue
Block a user