Add base viewport, set line height

Fixes #149
This commit is contained in:
Daniel Imms
2016-08-02 12:42:13 -07:00
parent d2cef6f29d
commit 670b0d58c7
2 changed files with 41 additions and 12 deletions
+7 -8
View File
@@ -103,6 +103,13 @@
display: block;
}
.terminal .xterm-char-measure-element {
display: inline-block;
visibility: hidden;
position: absolute;
left: -9999em;
}
/*
* Determine default colors for xterm.js
*/
@@ -2169,11 +2176,3 @@
.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: normal;
}