Fix display of unicode characters (#1376)

* Fix display of unicode characters

* Fix unicode display issues and CJK cursor
This commit is contained in:
Thibaut Tiberghien 2017-02-16 11:59:11 +08:00 committed by Guillermo Rauch
parent bdafe49c9f
commit 172d487055
2 changed files with 3 additions and 1 deletions

View file

@ -250,6 +250,9 @@ export default class Term extends Component {
.cursor-node[focus="false"] { .cursor-node[focus="false"] {
border-width: 1px !important; border-width: 1px !important;
} }
x-row {
line-height: 1.2em;
}
${hyperCaret} ${hyperCaret}
${scrollBarCss} ${scrollBarCss}
${css} ${css}

View file

@ -148,7 +148,6 @@ hterm.Terminal.prototype.setFontSize = function (px) {
.unicode-node { .unicode-node {
display: inline-block; display: inline-block;
vertical-align: top; vertical-align: top;
width: ${this.scrollPort_.characterSize.width}px;
} }
`; `;
}; };