Skip to content

Commit fb25eb8

Browse files
authored
Merge pull request #5764 from Tyriar/5675
Apply font styles directly to spans
2 parents 26ce9bd + e7a4578 commit fb25eb8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/browser/renderer/dom/DomRenderer.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,9 @@ export class DomRenderer extends Disposable implements IRenderer {
184184
// refresh() being called during the mousedown handler to start a selection.
185185
` pointer-events: none;` +
186186
` color: ${colors.foreground.css};` +
187+
`}`;
188+
styles +=
189+
`${this._terminalSelector} .${ROW_CONTAINER_CLASS}, ${this._terminalSelector} .${ROW_CONTAINER_CLASS} span {` +
187190
` font-family: ${this._optionsService.rawOptions.fontFamily};` +
188191
` font-size: ${this._optionsService.rawOptions.fontSize}px;` +
189192
` font-kerning: none;` +

0 commit comments

Comments
 (0)