set height

This commit is contained in:
ryan 2019-03-05 20:40:34 -08:00
parent f3712f748a
commit 8cb52ee626

View File

@ -355,9 +355,9 @@ export class TablePanel extends PureComponent<Props> {
<ReactTable <ReactTable
data={rows} data={rows}
columns={columns} columns={columns}
defaultPageSize={pageSize} pageSize={pageSize}
style={{ style={{
height: height - 20 + 'px', height: height + 'px',
}} }}
showPaginationBottom={showPaginationBottom} showPaginationBottom={showPaginationBottom}
getTdProps={(state, rowInfo, column, instance) => { getTdProps={(state, rowInfo, column, instance) => {