Skip to content

Commit 7e601cd

Browse files
authored
feat(web-ui): disable zoom in mobile devices (#861)
1 parent 93fd7a3 commit 7e601cd

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

services/web-ui/src/App.css

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1-
html, body {
1+
html,
2+
body {
23
height: 100%;
4+
5+
/* Disable zoom on mobile devices
6+
* See https://stackoverflow.com/questions/4472891/how-can-i-disable-zoom-on-a-mobile-web-page */
7+
touch-action: pan-x pan-y;
38
}

0 commit comments

Comments
 (0)