소스 검색

table height style add comments

tumao 4 년 전
부모
커밋
3abeeb1479
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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(