Skip to content

Commit

Permalink
fix: prevent table overflowing container
Browse files Browse the repository at this point in the history
  • Loading branch information
atanasster committed Jul 15, 2020
1 parent c0667ef commit e716842
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 0 additions & 4 deletions ui/components/src/Table/Table.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,6 @@ const columns = [
Header: 'Street',
accessor: 'address.street',
},
{
Header: 'Suite',
accessor: 'address.suite',
},
{
Header: 'City',
accessor: 'address.city',
Expand Down
2 changes: 2 additions & 0 deletions ui/components/src/ThemeContext/theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,8 @@ export const theme: ControlsTheme = {
m: 0,
},
pre: {
whiteSpace: 'pre-wrap',
wordWrap: 'break-word',
mt: 2,
mb: 0,
},
Expand Down

0 comments on commit e716842

Please sign in to comment.