Skip to content

Commit 03edb49

Browse files
authored
Removes zero-height style rule, which broke table display in Safari (#461) (#466)
1 parent 6a5b8cc commit 03edb49

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/components/advanced-table/advanced-table.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -216,9 +216,7 @@ export function AdvancedTable<
216216
}
217217

218218
const tableDiv = (
219-
<div
220-
style={height === 'auto' ? { flex: 1, height: 0 } : { maxHeight: height }}
221-
>
219+
<div style={height === 'auto' ? { flex: 1 } : { maxHeight: height }}>
222220
<TableContainer
223221
component={Paper}
224222
sx={{

0 commit comments

Comments
 (0)