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 {
|
.terminal .xterm-bg-color-255 {
|
||||||
background-color: #eeeeee;
|
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