diff --git a/scripts/dos-httpd b/scripts/dos-httpd index 1205fc7..4434322 100644 --- a/scripts/dos-httpd +++ b/scripts/dos-httpd @@ -58,67 +58,50 @@ HTML_PAGE = """ } #workspace { flex: 1 1 auto; - position: relative; display: flex; justify-content: center; align-items: center; padding: 32px 24px 40px; box-sizing: border-box; } - #terminal-wrapper { - position: absolute; - top: 50%; - left: 50%; - transform: translate(-50%, -50%); - transform-origin: center center; - } - #terminal-frame { + #terminal { display: inline-flex; background: #000; border: 1px solid #2b2b2b; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45); padding: 12px; + width: auto; + height: auto; box-sizing: content-box; } - #terminal { - display: inline-block; - } #terminal .xterm { - width: 100% !important; - height: 100% !important; + width: auto !important; + height: auto !important; } #terminal .xterm-viewport { background-color: #000 !important; overflow: hidden !important; - width: 100% !important; + width: auto !important; } #terminal .xterm-rows, #terminal .xterm-scroll-area { - width: 100% !important; - height: 100% !important; + width: auto !important; + height: auto !important; } #terminal .xterm-screen { - width: 100% !important; - height: 100% !important; + width: auto !important; + height: auto !important; } #terminal .xterm .xterm-helper-textarea { width: 0 !important; height: 0 !important; } - #terminal .xterm .xterm-bg-0, - #terminal .xterm .xterm-bg-8 { - background-color: rgb(14 14 14) !important; - }