Skip to content

Commit 6e3f65f

Browse files
Add word-break for table columns (#915)
Add word-break for table cells to fix styling for abnormally long cell values
1 parent 57724d4 commit 6e3f65f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/components/table/table-body-cell/table-body-cell.styles.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,6 @@ import { StyledTableBodyCell } from 'baseui/table-semantic';
44
export const styled = {
55
TableBodyCell: withStyle<typeof StyledTableBodyCell>(StyledTableBodyCell, {
66
verticalAlign: 'middle',
7+
wordBreak: 'break-word',
78
}),
89
};

0 commit comments

Comments
 (0)