Merge pull request #56 from sourcelair/issue/54

Explicitly adjust height of terminal rows and child elements
This commit is contained in:
Paris Kasidiaris
2016-05-30 14:52:59 +03:00
+16
View File
@@ -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;
}