提交 aba0aba9 编写于 作者: S Sandeep Somavarapu

Fix #77882

上级 98fa77a6
......@@ -159,6 +159,7 @@ export class MarkersFilterActionViewItem extends BaseActionViewItem {
toggleLayout(small: boolean) {
if (this.container) {
DOM.toggleClass(this.container, 'small', small);
this.adjustInputBox();
}
}
......@@ -247,7 +248,7 @@ export class MarkersFilterActionViewItem extends BaseActionViewItem {
}
private adjustInputBox(): void {
this.filterInputBox.inputElement.style.paddingRight = (DOM.getTotalWidth(this.controlsContainer) || 20) + 'px';
this.filterInputBox.inputElement.style.paddingRight = DOM.hasClass(this.container, 'small') || DOM.hasClass(this.filterBadge, 'hidden') ? '25px' : '150px';
}
// Action toolbar is swallowing some keys for action items which should not be for an input box
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册