Pārlūkot izejas kodu

enhance: disallow zoom on mobile

Tienson Qin 4 mēneši atpakaļ
vecāks
revīzija
09926e0f04
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 2 2
      resources/capacitor/index.html

+ 2 - 2
resources/capacitor/index.html

@@ -2,7 +2,7 @@
 <html lang="en" data-color="logseq">
 <html lang="en" data-color="logseq">
 <head>
 <head>
     <meta charset="UTF-8">
     <meta charset="UTF-8">
-    <meta name="viewport" content="viewport-fit=cover, width=device-width, initial-scale=1.0">
+    <meta name="viewport" content="viewport-fit=cover, width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
     <link href="./ionic.bundle.css" rel="stylesheet">
     <link href="./ionic.bundle.css" rel="stylesheet">
     <link href="./style.css" rel="stylesheet" type="text/css">
     <link href="./style.css" rel="stylesheet" type="text/css">
     <title>Logseq: A privacy-first platform for knowledge management and collaboration</title>
     <title>Logseq: A privacy-first platform for knowledge management and collaboration</title>
@@ -41,4 +41,4 @@ const portal = new MagicPortal(worker);
   })
   })
 </script>
 </script>
 </body>
 </body>
-</html>
+</html>