diff --git a/ckanext-hdx_theme/ckanext/hdx_theme/fanstatic/datasets/dataset.css b/ckanext-hdx_theme/ckanext/hdx_theme/fanstatic/datasets/dataset.css index 4fd345ff84..602a959cb0 100644 --- a/ckanext-hdx_theme/ckanext/hdx_theme/fanstatic/datasets/dataset.css +++ b/ckanext-hdx_theme/ckanext/hdx_theme/fanstatic/datasets/dataset.css @@ -92,6 +92,9 @@ text-align: justify; word-break: break-word; } +.additional-info td.dataset-details pre { + text-wrap: wrap; +} .additional-info th { max-width: 200px; width: 190px; diff --git a/ckanext-hdx_theme/ckanext/hdx_theme/fanstatic/light/dataset/dataset-light.css b/ckanext-hdx_theme/ckanext/hdx_theme/fanstatic/light/dataset/dataset-light.css index 0b262e593d..3d3264571a 100644 --- a/ckanext-hdx_theme/ckanext/hdx_theme/fanstatic/light/dataset/dataset-light.css +++ b/ckanext-hdx_theme/ckanext/hdx_theme/fanstatic/light/dataset/dataset-light.css @@ -92,6 +92,9 @@ text-align: justify; word-break: break-word; } +.additional-info td.dataset-details pre { + text-wrap: wrap; +} .additional-info th { max-width: 200px; width: 190px; diff --git a/ckanext-hdx_theme/ckanext/hdx_theme/hdx-styles/src/common/less/datasets/dataset.less b/ckanext-hdx_theme/ckanext/hdx_theme/hdx-styles/src/common/less/datasets/dataset.less index 8b200b596e..5d95dafe70 100644 --- a/ckanext-hdx_theme/ckanext/hdx_theme/hdx-styles/src/common/less/datasets/dataset.less +++ b/ckanext-hdx_theme/ckanext/hdx_theme/hdx-styles/src/common/less/datasets/dataset.less @@ -106,6 +106,11 @@ td { text-align: justify; word-break: break-word; + &.dataset-details { + pre { + text-wrap: wrap; + } + } } th {