1
0
mirror of synced 2024-11-25 14:26:03 +03:00

Fixes styling in bootstrap environment

Fixes #1588 thanks to @smajl
This commit is contained in:
Dean Sofer 2013-09-14 23:17:20 -07:00
parent 0ab50cc329
commit 4d749a7578

27
select2-bootstrap.css Normal file
View File

@ -0,0 +1,27 @@
.form-control .select2-choice {
border: 0;
border-radius: 2px;
}
.form-control .select2-choice .select2-arrow {
border-radius: 0 2px 2px 0;
}
.form-control.select2-container {
height: auto !important;
padding: 0px;
}
.form-control.select2-container.select2-dropdown-open {
border-color: #5897FB;
border-radius: 3px 3px 0 0;
}
.form-control .select2-container.select2-dropdown-open .select2-choices {
border-radius: 3px 3px 0 0;
}
.form-control.select2-container .select2-choices {
border: 0 !important;
border-radius: 3px;
}