Change height of select2 with single value to be the same as regular input

[MAILPOET-4630]
This commit is contained in:
 Ján Mikláš
2023-01-25 07:34:12 +01:00
committed by Aschepikov
parent 7858d4ada2
commit 153d29b167
2 changed files with 5 additions and 9 deletions

View File

@ -27,10 +27,6 @@ input.select2-search__field:-ms-input-placeholder {
color: $color-placeholder-select2;
}
.select2-container--default.select2-container--focus .select2-selection--multiple {
border: 1px solid #aaa; /* default Select2 border for single dropdown */
}
textarea.regular-text {
width: 25em !important;
}

View File

@ -50,7 +50,11 @@
border: 0 !important;
height: auto !important;
outline: none;
padding: 10px 5px 5px 16px !important;
padding: 5px 5px 2px 16px !important;
&.select2-selection--multiple {
padding: 7px 5px 0 16px !important;
}
}
.select2-selection__arrow {
@ -64,10 +68,6 @@
vertical-align: top;
}
.select2-selection--multiple .select2-selection__rendered {
padding-bottom: 0 !important;
}
.select2-selection__choice {
background: $color-tertiary-light !important;
border: 0 !important;