提交 00a5f597 编写于 作者: B Benjamin Pasero

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

上级 e76a5e7b
......@@ -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';
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册