wrap multi-line langs in main grid

ref #256
This commit is contained in:
Collin M. Barrett 2018-02-22 05:45:27 -06:00
parent f5cdf1fe4e
commit 30cc15e52d

View file

@ -57,9 +57,8 @@ export class Home extends React.Component<RouteComponentProps<{}>, IFilterListsS
filterMethod: (filter: any, row: any) => row[filter.id].join().toUpperCase()
.includes(filter.value.toUpperCase()),
sortMethod: (a: any, b: any) => a.join().toUpperCase() > b.join().toUpperCase() ? 1 : -1,
Cell: (cell: any) => <div style={{
display: "inline-block", wordWrap: "break-word" }}>{cell
.value.join(", ")}</div>,
Cell: (cell: any) => <div>{cell.value.join(", ")}</div>,
style: { whiteSpace: "inherit"},
width: 100,
headerClassName: "hidden-xs",
className: "hidden-xs"