From ada13a39825d666ad75a7510530abe5542803ee6 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Thu, 4 Jun 2020 15:22:43 +0000 Subject: [PATCH] Bug 25658: Print icon sometimes obscures patron barcode This patch alters the style of the patron name/cardnumber label on the checkout screen so that it has a maximum width. This will help avoid the label being obscured by the print/close buttons displayed when DisplayClearScreenButton is enabled. To test, apply the patch and rebuild the staff client CSS (https://wiki.koha-community.org/wiki/Working_with_SCSS_in_the_OPAC_and_staff_client). - Enable the DisplayClearScreenButton system preference. - Check out to a patron. Resize the browser to confirm that at narrower browser widths the patron name in the checkout form isn't obscured by the print and clear screen buttons. Signed-off-by: Katrin Fischer Signed-off-by: Alex Arnaud Signed-off-by: Jonathan Druart --- koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss | 3 +++ 1 file changed, 3 insertions(+) diff --git a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss b/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss index 39a4cddcb5..b55b97eea8 100644 --- a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss +++ b/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss @@ -424,8 +424,11 @@ label, } &.circ_barcode { + display: inline-block; font-size: 105%; font-weight: bold; + margin-bottom: 1rem; + max-width: 75%; } &.required { -- 2.39.5