ryan 6 سال پیش
والد
کامیت
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) => {