-
Notifications
You must be signed in to change notification settings - Fork 484
Expand file tree
/
Copy pathselect2-bootstrap4.after.scss
More file actions
36 lines (31 loc) · 1.01 KB
/
select2-bootstrap4.after.scss
File metadata and controls
36 lines (31 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
// Import this file after select2 bootstrap theme. Content won't be centered if you don't include this file.
.select2-container--bootstrap {
.select2-selection--multiple {
.select2-selection__choice {
margin-top: calc(#{$s2bs-padding-base-vertical} - 1px);
}
.select2-search--inline .select2-search__field {
height: $s2bs-input-height-base;
}
}
.select2-selection--multiple.form-control-sm,
.input-group-sm & .select2-selection--multiple,
.form-group-sm & .select2-selection--multiple {
.select2-selection__choice {
margin-top: calc(#{$s2bs-padding-small-vertical} - 1px);
}
.select2-search--inline .select2-search__field {
height: $s2bs-input-height-small;
}
}
.select2-selection--multiple.form-control-lg,
.input-group-lg & .select2-selection--multiple,
.form-group-lg & .select2-selection--multiple {
.select2-selection__choice {
margin-top: calc(#{$s2bs-padding-large-vertical} - 1px) ;
}
.select2-search--inline .select2-search__field {
height: $s2bs-input-height-large;
}
}
}