Skip to content

Commit

Permalink
Removes zero-height style rule, which broke table display in Safari
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonWeill committed Nov 9, 2023
1 parent cead489 commit 3e2bf80
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/components/advanced-table/advanced-table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -216,9 +216,7 @@ export function AdvancedTable<
}

const tableDiv = (
<div
style={height === 'auto' ? { flex: 1, height: 0 } : { maxHeight: height }}
>
<div style={height === 'auto' ? { flex: 1 } : { maxHeight: height }}>
<TableContainer
component={Paper}
sx={{
Expand Down

0 comments on commit 3e2bf80

Please sign in to comment.