Skip to content

Commit

Permalink
fix(DataTable): Fix x-axis overflow behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
zane committed Oct 4, 2022
1 parent 31a8f33 commit ea37120
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DataTable.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export default function DataTable({ columns, rows }) {
);

return (
<Table striped style={{ display: 'block' }}>
<Table striped style={{ display: 'block', overflowX: 'scroll' }}>
<thead>{tr}</thead>
<tbody>{tds}</tbody>
</Table>
Expand Down

0 comments on commit ea37120

Please sign in to comment.