update
This commit is contained in:
@@ -59,7 +59,31 @@
|
||||
.select2-container--default .select2-selection--multiple {
|
||||
min-height: 38px;
|
||||
.select2-selection__rendered {
|
||||
padding: 0 6px
|
||||
padding: 0px;
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
min-height: unset;
|
||||
|
||||
|
||||
// Hide empty ul when no items selected
|
||||
&:empty {
|
||||
display: none;
|
||||
}
|
||||
|
||||
// Remove list bullets
|
||||
li {
|
||||
list-style: none;
|
||||
list-style-type: none;
|
||||
}
|
||||
|
||||
&::before,
|
||||
li::before {
|
||||
content: none;
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
.select2-selection__choice {
|
||||
background-color: $component-active-bg;
|
||||
@@ -67,13 +91,27 @@
|
||||
border-color: $component-active-bg;
|
||||
padding: 1px 8px;
|
||||
border-radius: .15rem;
|
||||
margin-top: 5px;
|
||||
margin: 5px 0 0 5px;
|
||||
list-style: none;
|
||||
}
|
||||
.select2-selection__choice__remove {
|
||||
color: $component-active-color;
|
||||
opacity: .5;
|
||||
margin-right: 4px;
|
||||
}
|
||||
// Placeholder styling
|
||||
.select2-selection__placeholder {
|
||||
margin-top: 0;
|
||||
padding: 5px 8px;
|
||||
}
|
||||
// Search field styling
|
||||
.select2-search--inline {
|
||||
margin-top: 0;
|
||||
.select2-search__field {
|
||||
margin-top: 5px;
|
||||
margin-left: 5px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.select2-container .select2-search--inline {
|
||||
|
||||
Reference in New Issue
Block a user