mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 18:46:40 -05:00
resize when window resized (#1335)
This commit is contained in:
@@ -37,10 +37,6 @@ jobhistory-component {
|
||||
display: block;
|
||||
}
|
||||
|
||||
#jobsDiv .jobview-grid > .monaco-table > div[class^="slickgrid_"] {
|
||||
overflow: scroll !important;
|
||||
}
|
||||
|
||||
.vs-dark #jobsDiv .slick-header-column {
|
||||
background: #333333 !important;
|
||||
}
|
||||
|
||||
@@ -133,7 +133,8 @@ export class JobsViewComponent implements AfterContentChecked {
|
||||
syncColumnCellResize: true,
|
||||
enableColumnReorder: false,
|
||||
rowHeight: 45,
|
||||
enableCellNavigation: true
|
||||
enableCellNavigation: true,
|
||||
forceFitColumns: true
|
||||
};
|
||||
|
||||
this.dataView = new Slick.Data.DataView({ inlineFilters: false });
|
||||
@@ -225,6 +226,9 @@ export class JobsViewComponent implements AfterContentChecked {
|
||||
});
|
||||
this._showProgressWheel = false;
|
||||
this._cd.detectChanges();
|
||||
$(window).resize(() => {
|
||||
this._table.resizeCanvas();
|
||||
});
|
||||
this.loadJobHistories();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user