Forum

select2 width fix
 
Notifications
Clear all

select2 width fix

1 Posty
2 Users
0 Likes
2,345 Widok
0
Topic starter

resolution

1 Answer
0
Topic starter
1
2
3
4
5
6
7
8
9
.select2-container {
    display: table !important;
    table-layout: fixed !important;
}
.selection {
    height: 100%;
    float: left;
    width: 100%;
}
.select2-container {
    display: table !important;
    table-layout: fixed !important;
}
.selection {
    height: 100%;
    float: left;
    width: 100%;
}

and

1
$(".select2").select2({theme: "bootstrap",width:"100%"});
$(".select2").select2({theme: "bootstrap",width:"100%"});

Odpowiedź

Author Name

Author Email

Your question *

Preview 0 Revisions Saved
Share: