浏览代码

update comment

tumao 4 年之前
父节点
当前提交
b335524ade
共有 1 个文件被更改,包括 1 次插入0 次删除
  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;