Skip to content

Commit ec227c7

Browse files
committed
Prefix class with xterm-decoration-
1 parent 60f5490 commit ec227c7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

css/xterm.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@
179179
position: absolute;
180180
}
181181

182-
.xterm-screen .xterm-decoration-container .xterm-decoration.top-layer {
182+
.xterm-screen .xterm-decoration-container .xterm-decoration.xterm-decoration-top-layer {
183183
z-index: 7;
184184
}
185185

src/browser/decorations/BufferDecorationRenderer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ export class BufferDecorationRenderer extends Disposable {
7272
private _createElement(decoration: IInternalDecoration): HTMLElement {
7373
const element = document.createElement('div');
7474
element.classList.add('xterm-decoration');
75-
element.classList.toggle('top-layer', decoration?.options?.layer === 'top');
75+
element.classList.toggle('xterm-decoration-top-layer', decoration?.options?.layer === 'top');
7676
element.style.width = `${Math.round((decoration.options.width || 1) * this._renderService.dimensions.css.cell.width)}px`;
7777
element.style.height = `${(decoration.options.height || 1) * this._renderService.dimensions.css.cell.height}px`;
7878
element.style.top = `${(decoration.marker.line - this._bufferService.buffers.active.ydisp) * this._renderService.dimensions.css.cell.height}px`;

0 commit comments

Comments
 (0)