Rename input box does not use our configured CSS theming (fixes #2542)

This commit is contained in:
Benjamin Pasero
2016-02-01 06:39:22 +01:00
parent e76a5e7b64
commit 00a5f597d8
2 changed files with 2 additions and 0 deletions
@@ -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';