diff --git a/src/xterm.css b/src/xterm.css index b0876f2d..7a4246a9 100644 --- a/src/xterm.css +++ b/src/xterm.css @@ -2134,3 +2134,19 @@ .terminal .xterm-bg-color-255 { background-color: #eeeeee; } + +/** + * All terminal rows should have explicitly declared height, + * in order to allow child elements to adjust. + */ +.terminal .xterm-rows > div { + line-height: 1.2; +} + +/** + * All styled spans inside terminal lines should be inline-blocks, + * in orde to achieve better height adjustment. + */ +.terminal .xterm-rows span { + display: inline-block; +}