allow table width to be specified (#6196)

This commit is contained in:
Kim Santiago
2019-06-28 15:55:58 -07:00
committed by GitHub
parent eb3c6cadd2
commit e5256b0a61
2 changed files with 3 additions and 2 deletions

View File

@@ -26,7 +26,7 @@ import { Emitter, Event as vsEvent } from 'vs/base/common/event';
@Component({
selector: 'modelview-table',
template: `
<div #table style="width: 100%;height:100%" [style.font-size]="fontSize"></div>
<div #table style="height:100%;" [style.font-size]="fontSize" [style.width]="width"></div>
`
})
export default class TableComponent extends ComponentBase implements IComponent, OnDestroy, AfterViewInit {