Bläddra i källkod

table height style add comments

tumao 4 år sedan
förälder
incheckning
3abeeb1479
1 ändrade filer med 2 tillägg och 0 borttagningar
  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(