mirror of
https://github.com/wavetermdev/xterm.js.git
synced 2026-08-05 13:43:48 -07:00
Merge pull request #56 from sourcelair/issue/54
Explicitly adjust height of terminal rows and child elements
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user