From e737dae914e601d5c586dfbe3d6fc92612620af5 Mon Sep 17 00:00:00 2001 From: Deon George Date: Mon, 7 Jul 2025 10:07:35 +0800 Subject: [PATCH] Fix for select2 css - for templates when select2 is the only item rendered, or entries, when select is used as part of an attribute, eg: userpassword --- public/css/custom.css | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/public/css/custom.css b/public/css/custom.css index a8f46350..c3f77e75 100644 --- a/public/css/custom.css +++ b/public/css/custom.css @@ -16,10 +16,11 @@ attribute#objectclass .input-group-end:not(input.form-control) { /* select forms that have nothing next to them */ .select-group:first-child .select2-container--bootstrap-5 .select2-selection { - border-radius: 4px !important; + border-bottom-left-radius: 4px !important; + border-top-left-radius: 4px !important; } -.input-group:first-child:not(.select-group):not(:last-child) .select2-container--bootstrap-5 .select2-selection { +.input-group:last-child:not(:first-child) .select2-container--bootstrap-5 .select2-selection { border-bottom-right-radius: unset; border-top-right-radius: unset; }