added abilty to use select2 with input-group

This commit is contained in:
REJack
2019-10-23 08:46:37 +02:00
parent 4acb2b49e6
commit 8d20d4791f
5 changed files with 27 additions and 3 deletions

View File

@@ -175,6 +175,20 @@
& .select2-selection--single .select2-selection__rendered li {
padding-right: 10px;
}
.input-group-prepend ~ & {
.select2-selection {
border-bottom-left-radius: 0;
border-top-left-radius: 0;
}
}
.input-group > &:not(:last-child) {
.select2-selection {
border-bottom-right-radius: 0;
border-top-right-radius: 0;
}
}
}

10
dist/css/adminlte.css vendored
View File

@@ -23199,6 +23199,16 @@ html.maximized-card {
padding-right: 10px;
}
.input-group-prepend ~ .select2-container--default .select2-selection {
border-bottom-left-radius: 0;
border-top-left-radius: 0;
}
.input-group > .select2-container--default:not(:last-child) .select2-selection {
border-bottom-right-radius: 0;
border-top-right-radius: 0;
}
.select2-container--default .select2-primary.select2-dropdown .select2-search__field:focus,
.select2-container--default .select2-primary .select2-dropdown .select2-search__field:focus,
.select2-container--default .select2-primary .select2-search--inline .select2-search__field:focus,

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long