Skip to content

Commit 3baa7a1

Browse files
committed
This can be fixed by using "width: style" instead
1 parent 605515a commit 3baa7a1

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

assets/ui/js/select.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@
3737
var selectOptions = {
3838
templateResult: formatSelectOption,
3939
templateSelection: formatSelectOption,
40-
escapeMarkup: function(m) { return m }
40+
escapeMarkup: function(m) { return m },
41+
width: 'style'
4142
}
4243

4344
/*

assets/ui/less/form.less

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -370,19 +370,15 @@ body.slim-container {
370370
}
371371

372372
//
373-
// Select2
373+
// Select2
374374
//
375375

376-
.form-group .select2-container {
377-
width: 100%!important;
378-
}
379-
380376
.select2-container--default .select2-selection--single .select2-selection__arrow b {
381377
border: none;
382378
}
383379

384380
.select2-dropdown {
385-
z-index: 10000;
381+
z-index: 10000;
386382
}
387383

388384
//

0 commit comments

Comments
 (0)