Skip to content

Commit

Permalink
Removes zero-height style rule, which broke table display in Safari (j…
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonWeill authored Nov 14, 2023
1 parent cead489 commit fccfebb
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 fccfebb

Please sign in to comment.