@@ -94,6 +94,9 @@ $select-arrow-offset: calc(#{$select-padding-x} + 5px) !default;
94
94
.#{$select-ns } -wrapper.form-control ,
95
95
.#{$select-ns } -wrapper.form-select {
96
96
padding :0 !important ;
97
+ height : auto ;
98
+ box-shadow : none ;
99
+ display : flex ;
97
100
}
98
101
99
102
.#{$select-ns } -dropdown ,
@@ -137,7 +140,6 @@ $select-arrow-offset: calc(#{$select-padding-x} + 5px) !default;
137
140
}
138
141
139
142
.#{$select-ns } -control {
140
- // min-height: $input-height; // causes wrapper to be 2px too large
141
143
@include box-shadow ($input-box-shadow );
142
144
@include transition ($input-transition );
143
145
display :flex ;
@@ -169,21 +171,22 @@ $select-arrow-offset: calc(#{$select-padding-x} + 5px) !default;
169
171
170
172
171
173
.#{$select-ns } -wrapper {
174
+ min-height : $input-height ;
175
+ display :flex ;
172
176
173
177
.input-group-sm > & ,
174
178
& .form-select-sm ,
175
179
& .form-control-sm {
180
+ min-height : $input-height-sm ;
176
181
177
182
.#{$select-ns } -control {
178
- min-height : $input-height-sm ;
179
183
padding : 0 .75rem ;
180
184
// padding: $input-padding-y-sm $input-padding-x-sm;
181
185
@include border-radius ($input-border-radius-sm );
182
186
@include font-size ($input-font-size-sm );
183
187
}
184
188
185
189
& .has-items .#{$select-ns } -control {
186
- min-height : $input-height-sm !important ;
187
190
font-size : $input-font-size-sm ;
188
191
padding-bottom : 0 ;
189
192
}
@@ -213,11 +216,11 @@ $select-arrow-offset: calc(#{$select-padding-x} + 5px) !default;
213
216
}
214
217
}
215
218
216
- .input-group-lg > & > ,
219
+ .input-group-lg > & ,
217
220
& .form-control-lg ,
218
221
& .form-select-lg {
219
- . #{ $select-ns } -control {
220
- min-height : $input-height-lg ;
222
+ min-height : $input-height-lg ;
223
+ . #{ $select-ns } -control {
221
224
@include border-radius ($input-border-radius-lg );
222
225
@include font-size ($input-font-size-lg );
223
226
}
@@ -244,9 +247,6 @@ $select-arrow-offset: calc(#{$select-padding-x} + 5px) !default;
244
247
245
248
.#{$select-ns } -wrapper.form-control ,
246
249
.#{$select-ns } -wrapper.form-select {
247
- padding : 0 ;
248
- height : auto ;
249
- box-shadow : none ;
250
250
251
251
.#{$select-ns } -control ,
252
252
& .single.input-active .#{$select-ns } -control {
0 commit comments