Skip to content

Commit 0aca34b

Browse files
authored
Remove wasted space in search input (microsoft#209300)
remove extra width from aiButton
1 parent f776fed commit 0aca34b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vs/workbench/contrib/search/browser/searchFindInput.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ export class SearchFindInput extends ContextScopedFindInput {
5959
this.setAdditionalToggles([this._aiButton]);
6060

6161

62-
this.inputBox.paddingRight = (this.caseSensitive?.width() ?? 0) + (this.wholeWords?.width() ?? 0) + (this.regex?.width() ?? 0) + this._findFilter.width + (this._aiButton?.width() ?? 0);
62+
this.inputBox.paddingRight = (this.caseSensitive?.width() ?? 0) + (this.wholeWords?.width() ?? 0) + (this.regex?.width() ?? 0) + this._findFilter.width;
6363

6464
this.controls.appendChild(this._findFilter.container);
6565
this._findFilter.container.classList.add('monaco-custom-toggle');

0 commit comments

Comments
 (0)