From e2d05d67bb972b9789bbc0026816d3df9d4d1c15 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. --- 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 ea5a396094..1d286ab77b 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss +++ b/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss @@ -2696,6 +2696,14 @@ button { overflow: auto; } +#holdingst { + table-layout: fixed; + + td { + overflow-wrap: break-word; + } +} + #shelfbrowser { table { margin: 0; -- 2.20.1