fix: give electron app with minWidth = 640px (#1785)

This commit is contained in:
Peng Xiao
2023-04-03 15:20:58 +08:00
committed by GitHub
parent 487ef35563
commit 2cf8ab434e
10 changed files with 131 additions and 89 deletions

View File

@@ -8,12 +8,8 @@ export const StyledTable = styled('table')<{ tableLayout: 'auto' | 'fixed' }>(
color: theme.colors.textColor,
tableLayout,
width: '100%',
minWidth: '600px',
borderCollapse: 'separate',
borderSpacing: '0',
[theme.breakpoints.down('sm')]: {
minWidth: 'unset',
},
};
}
);
@@ -45,6 +41,9 @@ export const StyledTableHead = styled('thead')(() => {
return {
fontWeight: 500,
tr: {
td: {
whiteSpace: 'nowrap',
},
':hover': {
td: {
background: 'unset',