Skip to content

Commit

Permalink
Fix: Remove arbitrary height calc on table container which doesn't ac…
Browse files Browse the repository at this point in the history
…count for browser zoom (#1014)

Co-authored-by: Krishnan Subramanian <[email protected]>
  • Loading branch information
erikataot and krishnan-aot authored Jan 2, 2024
1 parent cd615ba commit f1438f3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions frontend/src/common/helpers/tableHelper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,12 +87,10 @@ export const defaultTableOptions: any = {
enableMultiSort: false,

// sticky table header properties
// docs recommend that a height is defined
enableStickyHeader: true,
muiTableContainerProps: {
sx: {
outline: "1px solid #DBDCDC",
height: "calc(100vh - 475px)",
outline: "1px solid #DBDCDC"
},
},

Expand Down

0 comments on commit f1438f3

Please sign in to comment.