Skip to content

Commit

Permalink
Clarify comments
Browse files Browse the repository at this point in the history
  • Loading branch information
campb303 committed May 5, 2021
1 parent d12aa22 commit 8e2989e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/ItemTable/ItemTable.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,10 @@ export default function ItemTable({ data, rowCanBeSelected, loading }) {
backgroundColor: theme.palette.type === 'light' ? theme.palette.grey[50] : theme.palette.grey[700],
},
},
// The AutoSizer and FixedSizeList components create extra div elements within the table body
// that break DOM nesting rules and cause the table body to have a 0px height. These styles
// are a hotfix to force the table body to have height until a better solution is found.
VirtualizedTableStyles: {
// The !important is placed here to enforce CSS specificity.
height: '82vh !important',
display:"table-row"
},
Expand Down

0 comments on commit 8e2989e

Please sign in to comment.