Browse Source

update insert preview stepper style

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

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

@@ -268,7 +268,7 @@ const EnhancedTable: FC<TableType> = props => {
                           ) : (
                             <TableCell
                               key={'cell' + row[primaryKey] + i}
-                              padding={i === 0 ? 'none' : 'default'}
+                              // padding={i === 0 ? 'none' : 'default'}
                               align={colDef.align || 'left'}
                               className={`${classes.cell} ${classes.tableCell}`}
                               style={cellStyle}

+ 1 - 1
client/src/components/insert/Preview.tsx

@@ -155,7 +155,7 @@ const InsertPreview: FC<InsertPreviewProps> = ({
     .map(key => ({
       id: key,
       align: 'left',
-      disablePadding: true,
+      disablePadding: false,
       label: '',
     }));