ryan 6 лет назад
Родитель
Сommit
8cb52ee626
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      public/app/plugins/panel/table2/TablePanel.tsx

+ 2 - 2
public/app/plugins/panel/table2/TablePanel.tsx

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