Răsfoiți Sursa

table height style add comments

tumao 4 ani în urmă
părinte
comite
3abeeb1479
1 a modificat fișierele cu 2 adăugiri și 0 ștergeri
  1. 2 0
      client/src/components/grid/Table.tsx

+ 2 - 0
client/src/components/grid/Table.tsx

@@ -141,7 +141,9 @@ const EnhancedTable: FC<TableType> = props => {
       const containerHeight: number = (containerRef.current as any)!
         .offsetHeight;
 
+      // table default row height is 54
       const rowHeight = 54;
+      // table header default height is 57
       const tableHeaderHeight: number = 57;
       if (rowHeight > 0) {
         const pageSize = Math.floor(