Browse Source

fix: #1094 try to disable zoom on ios safari

Yifei Zhang 1 year ago
parent
commit
2deb5cbc9e
1 changed files with 1 additions and 0 deletions
  1. 1 0
      app/styles/globals.scss

+ 1 - 0
app/styles/globals.scss

@@ -98,6 +98,7 @@ body {
   justify-content: center;
   align-items: center;
   user-select: none;
+  touch-action: pan-x pan-y;
   font-family: "Noto Sans SC", "SF Pro SC", "SF Pro Text", "SF Pro Icons",
     "PingFang SC", "Helvetica Neue", "Helvetica", "Arial", sans-serif;