wip
parent
66c869c41f
commit
797f78fb64
|
@ -343,6 +343,8 @@
|
|||
"--vscode-inputValidation-warningBackground",
|
||||
"--vscode-inputValidation-warningBorder",
|
||||
"--vscode-inputValidation-warningForeground",
|
||||
"--vscode-interactive-activeCodeBorder",
|
||||
"--vscode-interactive-inactiveCodeBorder",
|
||||
"--vscode-keybindingLabel-background",
|
||||
"--vscode-keybindingLabel-border",
|
||||
"--vscode-keybindingLabel-bottomBorder",
|
||||
|
|
|
@ -67,6 +67,10 @@
|
|||
background-color: var(--vscode-editorStickyScroll-background);
|
||||
}
|
||||
|
||||
.monaco-editor .sticky-widget.output {
|
||||
background-color: var(--vscode-outputViewEditorStickyScroll-background);
|
||||
}
|
||||
|
||||
.monaco-editor .sticky-widget.peek {
|
||||
background-color: var(--vscode-peekViewEditorStickyScroll-background);
|
||||
}
|
||||
|
|
|
@ -73,7 +73,11 @@ export class StickyScrollWidget extends Disposable implements IOverlayWidget {
|
|||
this._linesDomNodeScrollable.className = 'sticky-widget-lines-scrollable';
|
||||
this._linesDomNodeScrollable.appendChild(this._linesDomNode);
|
||||
|
||||
const isOutput = this._editor.getModel()?.uri.scheme === 'output';
|
||||
|
||||
|
||||
this._rootDomNode.className = 'sticky-widget';
|
||||
|
||||
this._rootDomNode.classList.toggle('peek', _editor instanceof EmbeddedCodeEditorWidget);
|
||||
this._rootDomNode.appendChild(this._lineNumbersDomNode);
|
||||
this._rootDomNode.appendChild(this._linesDomNodeScrollable);
|
||||
|
|
Loading…
Reference in New Issue