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 authored Nov 15, 2023
1 parent 6a5b8cc commit 03edb49
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 03edb49

Please sign in to comment.