Fix terminal sizing
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
[tool.poetry]
|
[tool.poetry]
|
||||||
name = "textual-webterm"
|
name = "textual-webterm"
|
||||||
version = "0.3.18"
|
version = "0.3.19"
|
||||||
description = "Serve terminal sessions over the web"
|
description = "Serve terminal sessions over the web"
|
||||||
authors = ["Will McGugan <will@textualize.io>"]
|
authors = ["Will McGugan <will@textualize.io>"]
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
|
|||||||
@@ -849,8 +849,15 @@ class LocalServer:
|
|||||||
<link rel=\"stylesheet\" href=\"/static/css/xterm.css\">
|
<link rel=\"stylesheet\" href=\"/static/css/xterm.css\">
|
||||||
<link rel=\"stylesheet\" href=\"/static/monospace.css\">
|
<link rel=\"stylesheet\" href=\"/static/monospace.css\">
|
||||||
<style>
|
<style>
|
||||||
body {{ background: #0c181f; margin: 0; padding: 0; }}
|
html, body {{ width: 100%; height: 100%; }}
|
||||||
.textual-terminal {{ width: 100vw; height: 100vh; }}
|
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>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|||||||
Reference in New Issue
Block a user