From d6a65f84d1aa0dc7de36f4f2662ba64eea14f8f7 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Tue, 1 Sep 2020 17:11:24 +0100 Subject: [PATCH] Bug 25242: Improve column wrapping for holdingst This patch attempts to improve the column wrapping for the holdingst datatable and sets the tabel to fixed width to prevent overlapping with other content on high zoom levels/low width screen sizes. Test plan 1/ Build the OPAC CSS from the updated SCSS 2/ Navigate to an item with holdings visible in the OPAC 3/ 'Play' with various window sizes and zoom levels. 4/ The table should not overlap with right navigation content 5/ Signoff NOTE: This is an alternative patch to those pushed and reverted that attempted to provide a global fix to overlap issues. This patch specifically targets just the holdings table in the opac detail view. Signed-off-by: Timothy Alexis Vass Signed-off-by: Alexis Ripetti Signed-off-by: Katrin Fischer --- koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss b/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss index c9964bd049..35cf7775c9 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss +++ b/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss @@ -2082,6 +2082,14 @@ nav { overflow: auto; } +#holdingst { + table-layout: fixed; + + td { + overflow-wrap: break-word; + } +} + #shelfbrowser { table { margin: 0; -- 2.11.0