Browse Source

update css

blueloveTH 3 years ago
parent
commit
fb1d9e9018
2 changed files with 3 additions and 1 deletions
  1. 2 0
      web/index.html
  2. 1 1
      web/xterm/xterm.css

+ 2 - 0
web/index.html

@@ -1,6 +1,8 @@
 <!doctype html>
   <html>
     <head>
+      <meta name="viewport" content="width=device-width, initial-scale=1.0">
+      <title>pocketpy demo</title>
       <link rel="stylesheet" href="xterm/xterm.css" />
       <script src="xterm/xterm.js"></script>
       <script src="index.js" ></script>

+ 1 - 1
web/xterm/xterm.css

@@ -54,7 +54,7 @@
 }
 
 @media screen and (orientation: portrait) {
-    #terminal { zoom: 3.5 !important; }
+    #terminal { zoom: 1.2 !important; }
 }
 
 @media screen and (orientation: landscape) {