remove extra width from aiButton (#209295)

This commit is contained in:
Andrea Mah 2024-04-01 13:49:35 -07:00 committed by GitHub
parent f533074d4c
commit 20b0d08112
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -59,7 +59,7 @@ export class SearchFindInput extends ContextScopedFindInput {
this.setAdditionalToggles([this._aiButton]);
this.inputBox.paddingRight = (this.caseSensitive?.width() ?? 0) + (this.wholeWords?.width() ?? 0) + (this.regex?.width() ?? 0) + this._findFilter.width + (this._aiButton?.width() ?? 0);
this.inputBox.paddingRight = (this.caseSensitive?.width() ?? 0) + (this.wholeWords?.width() ?? 0) + (this.regex?.width() ?? 0) + this._findFilter.width;
this.controls.appendChild(this._findFilter.container);
this._findFilter.container.classList.add('monaco-custom-toggle');