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

This commit is contained in:
Deon George 2025-07-07 10:07:35 +08:00
parent 685114f6a3
commit e737dae914

View File

@ -16,10 +16,11 @@ attribute#objectclass .input-group-end:not(input.form-control) {
/* select forms that have nothing next to them */ /* select forms that have nothing next to them */
.select-group:first-child .select2-container--bootstrap-5 .select2-selection { .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-bottom-right-radius: unset;
border-top-right-radius: unset; border-top-right-radius: unset;
} }