Skip to content

Commit

Permalink
Make table in resource forecast scrollable (#2297)
Browse files Browse the repository at this point in the history
  • Loading branch information
jadmsaadaot authored May 29, 2024
1 parent 5890053 commit ad20c6b
Showing 1 changed file with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -457,6 +457,17 @@ export default function ResourceForecast() {
paddingRight: "2px",
},
}}
muiTableContainerProps={{
sx: {
maxHeight: {
xs: "calc(100vh - 200px)",
sm: "calc(100vh - 250px)",
md: "calc(100vh - 300px)",
lg: "calc(100vh - 350px)",
xl: "calc(100vh - 400px)",
},
},
}}
onColumnFiltersChange={setColumnFilters}
onColumnVisibilityChange={setColumnVisibility}
onGlobalFilterChange={setGlobalFilter}
Expand Down

0 comments on commit ad20c6b

Please sign in to comment.