Properly adjust height of terminal rows and child elements

Fix #54
This commit is contained in:
Paris
2016-05-26 11:41:42 +03:00
parent 537fbad705
commit 3d64f91a5c
+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;
}