mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-14 12:11:43 +01:00
Rename input box does not use our configured CSS theming (fixes #2542)
This commit is contained in:
@@ -338,6 +338,7 @@ class DefineKeybindingWidget implements EditorBrowser.IOverlayWidget {
|
||||
|
||||
this._inputNode = document.createElement('input');
|
||||
this._inputNode.className = 'input';
|
||||
this._inputNode.type = 'text';
|
||||
this._domNode.appendChild(this._inputNode);
|
||||
|
||||
this._outputNode = document.createElement('div');
|
||||
|
||||
@@ -41,6 +41,7 @@ export default class RenameInputField implements EditorBrowser.IContentWidget, l
|
||||
if (!this._domNode) {
|
||||
this._inputField = document.createElement('input');
|
||||
this._inputField.className = 'rename-input';
|
||||
this._inputField.type = 'text';
|
||||
this._domNode = document.createElement('div');
|
||||
this._domNode.style.height = `${this._editor.getConfiguration().lineHeight}px`;
|
||||
this._domNode.className = 'monaco-editor rename-box';
|
||||
|
||||
Reference in New Issue
Block a user