فهرست منبع

【优化】页面比例

PJ568 2 سال پیش
والد
کامیت
2e4191b1b1
2فایلهای تغییر یافته به همراه2 افزوده شده و 0 حذف شده
  1. 1 0
      index.html
  2. 1 0
      server.py

+ 1 - 0
index.html

@@ -5,6 +5,7 @@
     <meta charset="UTF-8">
     <title>聊天室</title>
     <link type="text/css" rel="stylesheet" href="html-chat.css">
+    <meta name="viewport" content="width=192, initial-scale=1.0">
 </head>
 
 <body>

+ 1 - 0
server.py

@@ -136,6 +136,7 @@ class ChatServer(http.server.BaseHTTPRequestHandler):
     <title>聊天室 - {roomid}</title>
     <meta http-equiv="refresh" content="60">
     <link type="text/css" rel="stylesheet" href="html-chat.css">
+    <meta name="viewport" content="width=192, initial-scale=1.0">
 </head>
 <body>
     <div class="container">