Browse Source

update comment

tumao 4 years ago
parent
commit
b335524ade
1 changed files with 1 additions and 0 deletions
  1. 1 0
      client/src/components/grid/Table.tsx

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

@@ -142,6 +142,7 @@ const EnhancedTable: FC<TableType> = props => {
         .offsetHeight;
         .offsetHeight;
 
 
       // table default row height is 54
       // table default row height is 54
+      // if pass component as row item, its max height should be 54 too
       const rowHeight = 54;
       const rowHeight = 54;
       // table header default height is 57
       // table header default height is 57
       const tableHeaderHeight: number = 57;
       const tableHeaderHeight: number = 57;