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
This commit is contained in:
Daniel Imms
2026-03-11 13:44:22 +09:00
parent fd1e53c63f
commit a05a3321d5
+1 -1
View File
@@ -178,7 +178,7 @@ export class DomRenderer extends Disposable implements IRenderer {
// Base CSS
let styles =
`${this._terminalSelector} .${ROW_CONTAINER_CLASS} {` +
`${this._terminalSelector} .${ROW_CONTAINER_CLASS}, ${this._terminalSelector} .${ROW_CONTAINER_CLASS} span {` +
// Disabling pointer events circumvents a browser behavior that prevents `click` events from
// being delivered if the target element is replaced during the click. This happened due to
// refresh() being called during the mousedown handler to start a selection.