Bug 40931: (bug 39533 follow-up) More specific max-width CSS rule to prevent side-effects

The changes made on bug 39533 for the export page have affected other
instance of select2.
eg. on the "place holds" view the select2 elements are too narrow.

This patch suggests to reduce the elements on which the CSS rule
'max-width: 60%' is applied.

Test plan:
Confirm that this patch does not affect the display of the select2
elements on the export and item edition pages.

Confirm that the pickup locations are wider (and their values are
displayed) when placing multi holds

Signed-off-by: CJ Lynce <cj.lynce@westlakelibrary.org>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
Jonathan Druart 2025-10-09 12:31:29 +02:00 committed by Lucas Gass
parent d79cf5665d
commit 353508cf0b
No known key found for this signature in database
GPG Key ID: 60B447398B0D36CA
1 changed files with 3 additions and 0 deletions

View File

@ -52,6 +52,9 @@
.select2.select2-container.select2-container--default {
flex-grow: 1;
}
fieldset.rows li .select2.select2-container.select2-container--default {
max-width: 60%;
}