feat: 阻止移动端缩放

This commit is contained in:
ChenZhaoYu 2023-02-15 14:43:23 +08:00
parent d9761ed0e5
commit c09a4f6c75
1 changed files with 65 additions and 60 deletions

View File

@ -1,11 +1,14 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="zh-cmn-Hans"> <html lang="zh-cmn-Hans">
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<link rel="icon" type="image/svg+xml" href="/favicon.svg"> <link rel="icon" type="image/svg+xml" href="/favicon.svg">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport"
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, viewport-fit=cover" />
<title>ChatGPT Web</title> <title>ChatGPT Web</title>
</head> </head>
<body> <body>
<div id="app"> <div id="app">
<style> <style>
@ -42,6 +45,7 @@
} }
@keyframes left-swing { @keyframes left-swing {
50%, 50%,
100% { 100% {
transform: translateX(95%); transform: translateX(95%);
@ -68,4 +72,5 @@
</div> </div>
<script type="module" src="/src/main.ts"></script> <script type="module" src="/src/main.ts"></script>
</body> </body>
</html> </html>