form should not default to100% by default (#1679)

This commit is contained in:
Leila Lali
2018-06-19 14:12:04 -07:00
committed by GitHub
parent 6b018c5d06
commit c13f219318
3 changed files with 14 additions and 3 deletions

View File

@@ -118,11 +118,11 @@ export default class FormContainer extends ContainerBase<FormItemLayout> impleme
}
private getFormWidth(): string {
return this.convertSize(this._formLayout && this._formLayout.width, '100%');
return this.convertSize(this._formLayout && this._formLayout.width, '');
}
private getFormHeight(): string {
return this.convertSize(this._formLayout && this._formLayout.height, '100%');
return this.convertSize(this._formLayout && this._formLayout.height, '');
}
private getComponentWidth(item: FormItem): string {