Bugzilla – Attachment 189135 Details for
Bug 40288
patron details in patron sidebar overflow the sidebar
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 40288: constrain patron brief info in patron sidebar to parent width
0001-Bug-40288-constrain-patron-brief-info-in-patron-side.patch (text/plain), 2.39 KB, created by
Michael Hafen
on 2025-11-05 18:38:59 UTC
(
hide
)
Description:
Bug 40288: constrain patron brief info in patron sidebar to parent width
Filename:
MIME Type:
Creator:
Michael Hafen
Created:
2025-11-05 18:38:59 UTC
Size:
2.39 KB
patch
obsolete
>From f87b97ace6ff0ed9ea2009b78b12bd899613b04d Mon Sep 17 00:00:00 2001 >From: Michael Hafen <michael.hafen@washk12.org> >Date: Tue, 1 Jul 2025 18:17:31 -0600 >Subject: [PATCH 1/2] Bug 40288: constrain patron brief info in patron sidebar > to parent width >Content-Type: text/plain; charset="utf-8" > >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 <george@nekls.org> >--- > 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 44c3229cf1..1f9f8d8f62 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 @@ > </div> > <!-- /.patronimage-container --> > [% END # /IF patronimages %] >- <div> >+ <div class="patronbriefinfo-container"> > <ul class="patronbriefinfo"> > [% IF patron.pronouns %] > <li class="patronpronouns">([% patron.pronouns | html %])</li> >-- >2.43.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 40288
:
183680
|
183681
|
183770
|
183799
|
183874
|
189135
|
189136
|
189195
|
189196
|
189323
|
189324