From c7d47e361c89a0270a32820367b7bf4742ef5ba5 Mon Sep 17 00:00:00 2001 From: blueloveTH Date: Fri, 11 Nov 2022 16:14:43 +0800 Subject: [PATCH] Update xterm.css --- web/xterm/xterm.css | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/web/xterm/xterm.css b/web/xterm/xterm.css index 1a813f40..a4b09542 100644 --- a/web/xterm/xterm.css +++ b/web/xterm/xterm.css @@ -53,16 +53,16 @@ display: block; } -@media screen and (orientation: portrait) { - #terminal { zoom: 1.2 !important; } -} - -@media screen and (orientation: landscape) { - #terminal { zoom: 1.2 !important;} +#terminal { + border: #FFF; + border-style: solid; + border-width: 1px; + padding: 4px; + zoom: 1.2 !important; } body { - margin: 8px; + margin: 0px; height: 100%; width: 100%; background-color: rgb(13,17,23); @@ -74,7 +74,8 @@ body { /* On OS X this is required in order for the scroll bar to appear fully opaque */ background-color: rgb(13,17,23) !important; - overflow-y: scroll; + /*overflow-y: scroll;*/ + overflow: hidden; cursor: default; position: absolute; right: 0;