diff --git a/package-lock.json b/package-lock.json index 1d031513..eb935092 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@civicactions/cmsds-open-data-components", - "version": "2.0.6", + "version": "2.0.7", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@civicactions/cmsds-open-data-components", - "version": "2.0.6", + "version": "2.0.7", "license": "GPL-3.0", "dependencies": { "@popperjs/core": "^2.11.6", diff --git a/package.json b/package.json index 39504377..a41235d9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@civicactions/cmsds-open-data-components", - "version": "2.0.6", + "version": "2.0.7", "description": "Components for the open data catalog frontend using CMS Design System", "main": "dist/main.js", "source": "src/index.ts", diff --git a/src/components/DatasetAdditionalInformation/additional-information-table.scss b/src/components/DatasetAdditionalInformation/additional-information-table.scss index 8c12073a..8eb8ec7a 100644 --- a/src/components/DatasetAdditionalInformation/additional-information-table.scss +++ b/src/components/DatasetAdditionalInformation/additional-information-table.scss @@ -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; +} diff --git a/src/components/DatasetAdditionalInformation/index.jsx b/src/components/DatasetAdditionalInformation/index.jsx index da825d18..c8c6c58c 100644 --- a/src/components/DatasetAdditionalInformation/index.jsx +++ b/src/components/DatasetAdditionalInformation/index.jsx @@ -30,7 +30,7 @@ const DatasetAdditionalInformation = ({ datasetInfo, id, metadataMapping}) => { {rows.map((r) => ( {r.label} - {r.value} + {r.value} ))}