From b9be0ef1db5663d3aa2e059fec92f148a1a7e666 Mon Sep 17 00:00:00 2001 From: Michael Hafen Date: Tue, 1 Jul 2025 18:17:31 -0600 Subject: [PATCH] Bug 40288: constrain patron brief info in patron sidebar to parent width The patron info in the patron / circ-menu sidebar is not constrained to it's parent's width. I found this with a very long email address, where the ul grew to match the email address length, and the patron image container also grew. Both overflowed the sidebar. Test plan: 1. find or make a patron with a very long email address (more tha 50 characters). 2. open the patron details page for that patron. Observe the patron image and patron details overflows the patron sidebar (the email address will be hidden under the contact information panel. 3. Apply patch and rebuild css files. It may be necessary to clear the browser cache. 4. open the patron details page for that patron again. Observe the patron image and details does not overflow the patron sidebar. Signed-off-by: George Signed-off-by: Owen Leonard Signed-off-by: Laura_Escamilla Signed-off-by: Wainui Witika-Park --- koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss | 4 ---- koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) 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 10257bfe6c..78f045f712 100644 --- a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss +++ b/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss @@ -1358,10 +1358,6 @@ dd { } .patroninfo-container { - display: flex; - flex-direction: row; - flex-wrap: wrap; - justify-content: left; margin-left: 1rem; } diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc index edb3b8bbfb..93793177ce 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc @@ -68,7 +68,7 @@ [% END # /IF patronimages %] -
+
    [% IF patron.pronouns %]
  • ([% patron.pronouns | html %])