File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -123,16 +123,14 @@ export class DomRenderer extends EventEmitter implements IRenderer {
123123 ` display: inline-block;` +
124124 ` height: 100%;` +
125125 ` vertical-align: top;` +
126- ` width: ${ this . _terminal . charMeasure . width } px` +
126+ ` width: ${ this . dimensions . actualCellWidth } px` +
127127 `}` ;
128128
129129 this . _dimensionsStyleElement . innerHTML = styles ;
130130
131131 this . _selectionContainer . style . height = ( < any > this . _terminal ) . _viewportElement . style . height ;
132- this . _rowContainer . style . width = `${ this . dimensions . canvasWidth } px` ;
133- this . _rowContainer . style . height = `${ this . dimensions . canvasHeight } px` ;
134- this . _terminal . screenElement . style . width = '' ;
135- this . _terminal . screenElement . style . height = '' ;
132+ this . _terminal . screenElement . style . width = `${ this . dimensions . canvasWidth } px` ;
133+ this . _terminal . screenElement . style . height = `${ this . dimensions . canvasHeight } px` ;
136134 }
137135
138136 public setTheme ( theme : ITheme | undefined ) : IColorSet {
You can’t perform that action at this time.
0 commit comments