Skip to content
Snippets Groups Projects
Commit 9ff71e92 authored by Tom Robinson's avatar Tom Robinson
Browse files

Correct way to have table take up full available height

parent cf31090d
No related branches found
No related tags found
No related merge requests found
......@@ -13,15 +13,6 @@
transition: opacity .3s linear;
}
/* these two rules cause the table to take up the full available height */
.MB-DataTable {
display: flex;
flex-direction: column;
}
.public_fixedDataTable_main {
flex: 1;
}
.PagingButtons {
border: 1px solid #ddd;
}
......
......@@ -275,7 +275,7 @@ export default class QueryVisualizationTable extends Component {
rowGetter={this.rowGetter}
rowsCount={this.state.data.rows.length}
width={this.state.width}
maxHeight={this.state.height}
height={this.state.height}
headerHeight={50}
isColumnResizing={this.isColumnResizing}
onColumnResizeEndCallback={this.columnResized}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment