Fix terminal sizing

This commit is contained in:
GitHub Copilot
2026-01-27 22:38:51 +00:00
parent 9ea4e18fcc
commit 26489567cb
2 changed files with 10 additions and 3 deletions
+9 -2
View File
@@ -849,8 +849,15 @@ class LocalServer:
<link rel=\"stylesheet\" href=\"/static/css/xterm.css\">
<link rel=\"stylesheet\" href=\"/static/monospace.css\">
<style>
body {{ background: #0c181f; margin: 0; padding: 0; }}
.textual-terminal {{ width: 100vw; height: 100vh; }}
html, body {{ width: 100%; height: 100%; }}
body {{ background: #0c181f; margin: 0; padding: 0; overflow: hidden; }}
.textual-terminal {{ width: 100%; height: 100%; }}
.textual-terminal .xterm,
.textual-terminal .xterm-viewport,
.textual-terminal .xterm-screen {{
width: 100%;
height: 100%;
}}
</style>
</head>
<body>