Skip to content

Commit 82d2e53

Browse files
committed
Fix table min
1 parent 9682b7b commit 82d2e53

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

site/src/theme/theme.ts

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -167,8 +167,7 @@ dark = createTheme(dark, {
167167
},
168168
MuiTable: {
169169
styleOverrides: {
170-
root: {
171-
minWidth: 1200,
170+
root: ({ theme }) => ({
172171
borderCollapse: "unset",
173172
border: "none",
174173
background: dark.palette.background.paper,
@@ -180,7 +179,11 @@ dark = createTheme(dark, {
180179
paddingBottom: 16,
181180
background: "transparent",
182181
},
183-
},
182+
183+
[theme.breakpoints.down("md")]: {
184+
minWidth: 1000,
185+
},
186+
}),
184187
},
185188
},
186189
MuiTableCell: {

0 commit comments

Comments
 (0)