提交 88ff4a7b 编写于 作者: R Rob Lourens

Fix #80525

上级 db358b5b
...@@ -364,11 +364,12 @@ export class SearchWidget extends Widget { ...@@ -364,11 +364,12 @@ export class SearchWidget extends Widget {
} }
})); }));
let controls = document.createElement('div'); const controls = document.createElement('div');
controls.className = 'controls'; controls.className = 'controls';
controls.style.display = 'block'; controls.style.display = 'block';
controls.appendChild(this._preserveCase.domNode); controls.appendChild(this._preserveCase.domNode);
replaceBox.appendChild(controls); replaceBox.appendChild(controls);
this.replaceInput.paddingRight = this._preserveCase.width();
this._register(attachInputBoxStyler(this.replaceInput, this.themeService)); this._register(attachInputBoxStyler(this.replaceInput, this.themeService));
this.onkeydown(this.replaceInput.inputElement, (keyboardEvent) => this.onReplaceInputKeyDown(keyboardEvent)); this.onkeydown(this.replaceInput.inputElement, (keyboardEvent) => this.onReplaceInputKeyDown(keyboardEvent));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册