Skip to content

Commit a05a332

Browse files
committed
Apply font styles directly to spans
The universal selector was overriding this since the font styles only applied to the div, not the span. Fixes #5675
1 parent fd1e53c commit a05a332

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/browser/renderer/dom/DomRenderer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ export class DomRenderer extends Disposable implements IRenderer {
178178

179179
// Base CSS
180180
let styles =
181-
`${this._terminalSelector} .${ROW_CONTAINER_CLASS} {` +
181+
`${this._terminalSelector} .${ROW_CONTAINER_CLASS}, ${this._terminalSelector} .${ROW_CONTAINER_CLASS} span {` +
182182
// Disabling pointer events circumvents a browser behavior that prevents `click` events from
183183
// being delivered if the target element is replaced during the click. This happened due to
184184
// refresh() being called during the mousedown handler to start a selection.

0 commit comments

Comments
 (0)