Skip to content

Commit f8d75f6

Browse files
committed
fix: πŸ› position of clear button was incorrect after 75eec0e
1 parent 73adaa2 commit f8d75f6

3 files changed

Lines changed: 6 additions & 4 deletions

File tree

β€Ždist/select2-bootstrap4.cssβ€Ž

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,10 @@
3636
box-sizing: border-box;
3737
list-style: none;
3838
margin: 0;
39-
padding: 0 8px; }
39+
padding: 0 8px;
40+
width: 100%; }
4041
.select2-container--bootstrap4 .select2-selection--multiple .select2-selection__rendered .select2-search__field {
41-
width: auto !important; }
42+
width: 100% !important; }
4243
.select2-container--bootstrap4 .select2-selection--multiple .select2-selection__choice {
4344
color: #343a40;
4445
border: 1px solid #bdc6d0;

β€Ždist/select2-bootstrap4.min.cssβ€Ž

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

β€Žsrc/_multiple.scssβ€Ž

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,10 @@
1010
list-style: none;
1111
margin: 0;
1212
padding: 0 8px;
13+
width: 100%;
1314

1415
.select2-search__field {
15-
width: auto !important;
16+
width: 100% !important;
1617
}
1718
}
1819

0 commit comments

Comments
Β (0)