Fixes word wrap issue

This commit is contained in:
Alex Corey 2020-03-19 12:53:02 -04:00
parent d941f11ccd
commit ebb0f31b0b
3 changed files with 14 additions and 1 deletions

View File

@ -0,0 +1,9 @@
import { DataListCell } from '@patternfly/react-core';
import styled from 'styled-components';
DataListCell.displayName = 'PFDataListCell';
// Once https://github.com/patternfly/patternfly-react/issues/3938
// has been resolved this component can be removed
export default styled(DataListCell)`
word-break: break-word;
`;

View File

@ -0,0 +1,4 @@
export {
default
}
from './DataListCell'

View File

@ -9,10 +9,10 @@ import {
DataListItemCells,
DataListItemRow,
DataListItem,
DataListCell,
Stack,
StackItem,
} from '@patternfly/react-core';
import DataListCell from '@components/DataListCell';
import { CaretDownIcon, CaretUpIcon } from '@patternfly/react-icons';
import styled from 'styled-components';