From 4d9a585a82dcceeeb70e583ff9cb3ea545055f80 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Tue, 22 Jul 2025 13:14:00 +0000 Subject: [PATCH] Bug 40335: (follow-up) Fix style of Select2 in sidebar This patch adjusts the style of the Select2 field in the sidebar. It should have 100% width and the selections should word-wrap. --- koha-tmpl/intranet-tmpl/prog/css/select2.css | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/koha-tmpl/intranet-tmpl/prog/css/select2.css b/koha-tmpl/intranet-tmpl/prog/css/select2.css index 8733a8b591..d83b26f905 100644 --- a/koha-tmpl/intranet-tmpl/prog/css/select2.css +++ b/koha-tmpl/intranet-tmpl/prog/css/select2.css @@ -55,6 +55,14 @@ max-width: 60%; } +aside .select2.select2-container.select2-container--default { + max-width: unset; +} + +aside .select2-container .select2-selection--multiple .select2-selection__rendered { + white-space: wrap; +} + fieldset.rows .select2 li { clear: none; width: unset; -- 2.39.5