Skip to content

Commit

Permalink
fix: Empty table noContentText not spanning full width
Browse files Browse the repository at this point in the history
  • Loading branch information
amattu2 committed Apr 2, 2024
1 parent 27295c4 commit 967561d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/DataSubmissions/GenericTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ const GenericTable = <T,>({
return (
<StyledTableContainer {...containerProps}>
{loading && (<SuspenseLoader fullscreen={false} />)}
<StyledTable horizontalScroll={horizontalScroll}>
<StyledTable horizontalScroll={horizontalScroll && total > 0}>
<StyledTableHead>
<TableRow>
{columns.map((col: Column<T>) => (
Expand Down

0 comments on commit 967561d

Please sign in to comment.