[list views] add work-break css for table layouts (#9537)

This commit is contained in:
ʈᵃᵢ 2020-04-14 22:04:24 -07:00 committed by GitHub
parent fd89900dc5
commit 1ccda920fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 1 deletions

View File

@ -60,6 +60,10 @@
.action-button {
margin: 0 8px;
}
.table-cell {
word-break: break-all;
}
}
@keyframes shimmer {

View File

@ -85,7 +85,11 @@ export default function TableCollection({
const columnCellProps = cell.column.cellProps || {};
return (
<td {...cell.getCellProps()} {...columnCellProps}>
<td
className="table-cell"
{...cell.getCellProps()}
{...columnCellProps}
>
<span>{cell.render('Cell')}</span>
</td>
);