fix inputbox width (#12998)

This commit is contained in:
Kim Santiago
2020-10-20 09:39:54 -07:00
committed by GitHub
parent 1e916e93ad
commit c6b3b797c5

View File

@@ -30,8 +30,8 @@ import { convertSize, convertSizeToNumber } from 'sql/base/browser/dom';
@Component({
selector: 'modelview-inputBox',
template: `
<div [style.display]="getInputBoxDisplay()" #input style="width: 100%"></div>
<div [style.display]="getTextAreaDisplay()" #textarea style="width: 100%"></div>
<div [style.display]="getInputBoxDisplay()" #input [style.width]="width" ></div>
<div [style.display]="getTextAreaDisplay()" #textarea [style.width]="width" ></div>
`
})
export default class InputBoxComponent extends ComponentBase<azdata.InputBoxProperties> implements IComponent, OnDestroy, AfterViewInit {