Skip to content

Commit

Permalink
Making table responsive (#124)
Browse files Browse the repository at this point in the history
  • Loading branch information
DaveBathnes authored Feb 24, 2025
1 parent 6ebedca commit 18b95ce
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/Stops.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ const Stops = () => {
Stops
</ListSubheader>
<div style={{ display: 'flex', height: '100%' }}>
<div style={{ flexGrow: 1 }}>
<div style={{ flexGrow: 1, width: '100%' }}>
<DataGrid
sx={{
backgroundColor: 'white',
Expand Down
5 changes: 5 additions & 0 deletions src/theme.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@ const theme = createTheme({
}
}
}
},
mixins: {
MuiDataGrid: {
containerBackground: blueGrey[50]
}
}
})

Expand Down

0 comments on commit 18b95ce

Please sign in to comment.