Skip to content

Commit

Permalink
MoreCast overflow (#3324)
Browse files Browse the repository at this point in the history
Changes overflow/scroll to only effect data within the DataGrid
  • Loading branch information
brettedw authored Jan 18, 2024
1 parent 2f426c7 commit 7631acd
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion web/src/features/moreCast2/components/ForecastDataGrid.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ const Root = styled('div')(() => ({
[`&.${classes.root}`]: {
display: 'flex',
flexGrow: 1,
flexDirection: 'column'
flexDirection: 'column',
height: '1px'
}
}))

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ const classes = {
const Root = styled('div')({
[`&.${classes.root}`]: {
display: 'flex',
flexGrow: 1
flexGrow: 1,
height: '1px'
}
})

Expand Down
2 changes: 1 addition & 1 deletion web/src/features/moreCast2/pages/MoreCast2Page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export const Observations = styled('div')(({ theme }) => ({
flexDirection: 'column',
flexGrow: 1,
marginTop: theme.spacing(2),
overflowX: 'auto'
overflow: 'hidden'
}))

const MoreCast2Page = () => {
Expand Down

0 comments on commit 7631acd

Please sign in to comment.