feat: modify component table

This commit is contained in:
QiShaoXuan
2022-12-09 01:36:33 +08:00
parent d3224f983b
commit 312d898b54
6 changed files with 36 additions and 16 deletions
+3 -2
View File
@@ -26,11 +26,12 @@ export const StyledTableCell = styled.td<
const width = proportion ? `${proportion * 100}%` : 'auto';
return {
width,
height: '54px',
lineHeight: '54px',
height: '52px',
lineHeight: '52px',
padding: '0 30px',
boxSizing: 'border-box',
textAlign: align,
verticalAlign: 'middle',
...(ellipsis ? textEllipsis(1) : {}),
overflowWrap: 'break-word',
};