Alter CSS for select2 multiple choices

So that the 'x' button to remove a selected choice, matches the select2 theme.
This commit is contained in:
Corban-Lee Jones 2024-04-28 16:07:53 +01:00
parent c1b1050b30
commit 4b6cbbcc12

View File

@ -63,4 +63,12 @@
.select2-container--bootstrap .select2-results__option--highlighted {
color: var(--bs-white) !important;
background-color: var(--bs-primary) !important;
}
.select2-container--bootstrap .select2-selection--multiple .select2-selection__choice__remove {
color: var(--bs-secondary-color);
}
.select2-container--bootstrap .select2-selection--multiple .select2-selection__choice__remove:hover {
color: var(--bs-tertiary-color);
}