From dc79d62f94ecce6b85a89db88bbf0799e11a98e4 Mon Sep 17 00:00:00 2001 From: "Toavina A." Date: Tue, 10 Dec 2024 16:47:23 +0300 Subject: [PATCH] Some metadata fields are not responsive when viewing datasets (#57) * added a word break property so metadata td does not exceed container * justified dataset and resource descriptions * small update * word break is better * More specific selector --------- Co-authored-by: toavina --- ckanext/zarr/assets/css/zarr.css | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/ckanext/zarr/assets/css/zarr.css b/ckanext/zarr/assets/css/zarr.css index 4c23660..3308c42 100644 --- a/ckanext/zarr/assets/css/zarr.css +++ b/ckanext/zarr/assets/css/zarr.css @@ -377,6 +377,23 @@ float: right; } + ul.nav.nav-tabs { z-index: 9; -} \ No newline at end of file +} + +.dataset table.table.table-striped.table-bordered.table-condensed { + tr td { + dd { + word-break: break-all; + } + } +} + +.dataset { + .promoted .description p, + #dataset-description p, + .prose.notes + { + text-align: justify; + }