Skip to content

Commit

Permalink
modify to overflow-wrap: anywhere
Browse files Browse the repository at this point in the history
  • Loading branch information
brdunfield committed Aug 3, 2023
1 parent f508cda commit ec4c62a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,8 @@
.dc-c-additional-info-table a {
word-break: break-all;
}

.ds-u-word-break-anywhere {
word-break: break-word;
overflow-wrap: anywhere;
}
2 changes: 1 addition & 1 deletion src/components/DatasetAdditionalInformation/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const DatasetAdditionalInformation = ({ datasetInfo, id, metadataMapping}) => {
{rows.map((r) => (
<TableRow key={`${r.label}_${id}`}>
<TableCell>{r.label}</TableCell>
<TableCell className="ds-u-word-break">{r.value}</TableCell>
<TableCell className="ds-u-word-break-anywhere">{r.value}</TableCell>
</TableRow>
))}
</TableBody>
Expand Down

0 comments on commit ec4c62a

Please sign in to comment.