mirror of
https://github.com/Microsoft/vscode
synced 2024-10-12 06:17:18 +00:00
Fix #136482
This commit is contained in:
parent
c157ab781b
commit
a277202652
|
@ -363,11 +363,8 @@ export class InputBox extends Widget {
|
|||
}
|
||||
|
||||
public set paddingRight(paddingRight: number) {
|
||||
if (this.options.flexibleHeight && this.options.flexibleWidth) {
|
||||
this.input.style.width = `calc(100% - ${paddingRight}px)`;
|
||||
} else {
|
||||
this.input.style.paddingRight = paddingRight + 'px';
|
||||
}
|
||||
// Set width to avoid hint text overlapping buttons
|
||||
this.input.style.width = `calc(100% - ${paddingRight}px)`;
|
||||
|
||||
if (this.mirror) {
|
||||
this.mirror.style.paddingRight = paddingRight + 'px';
|
||||
|
|
Loading…
Reference in a new issue