Sfoglia il codice sorgente

table height style add comments

tumao 4 anni fa
parent
commit
3abeeb1479
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  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(