Skip to content

Commit

Permalink
[list views] add work-break css for table layouts (#9537)
Browse files Browse the repository at this point in the history
  • Loading branch information
nytai authored Apr 15, 2020
1 parent fd89900 commit 1ccda92
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
4 changes: 4 additions & 0 deletions superset-frontend/src/components/ListView/ListViewStyles.less
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,10 @@
.action-button {
margin: 0 8px;
}

.table-cell {
word-break: break-all;
}
}

@keyframes shimmer {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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>
);
Expand Down

0 comments on commit 1ccda92

Please sign in to comment.