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
@@ -152,7 +152,7 @@ export const PageList: React.FC<PageListProps> = ({
{list.map((pageMeta, index) => {
return (
<StyledTableRow
data-testid={`page-list-item-${pageMeta.id}}`}
data-testid={`page-list-item-${pageMeta.id}`}
key={`${pageMeta.id}-${index}`}
>
<TableCell
@@ -5,8 +5,9 @@ export const StyledTableContainer = styled('div')(({ theme }) => {
return {
height: 'calc(100vh - 52px)',
padding: '78px 72px',
maxWidth: '100%',
overflowY: 'auto',
[theme.breakpoints.down('sm')]: {
[theme.breakpoints.down('md')]: {
padding: '12px 24px',
},
};