diff options
Diffstat (limited to 'pkg/lib/console.css')
-rw-r--r-- | pkg/lib/console.css | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/pkg/lib/console.css b/pkg/lib/console.css new file mode 100644 index 0000000..d2ad1e8 --- /dev/null +++ b/pkg/lib/console.css @@ -0,0 +1,16 @@ +@import "xterm/css/xterm.css"; + +.console-ct > .terminal { + display: flex; + block-size: 100%; +} + +.terminal:focus .terminal-cursor { + border: none; + animation: blink 1s step-end infinite; +} + +/* Ensure the console fits to its container (and doesn't attempt to go beyond the limits) */ +.xterm-screen, .xterm-viewport { + inline-size: auto !important; +} |