Skip to content

Commit 8135318

Browse files
committed
Fix select2 styles
1 parent c0ad998 commit 8135318

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

Resources/public/select2/css/select2.css

+7-4
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ Version: 3.4.0 Timestamp: Tue May 14 08:27:33 PDT 2013
99
zoom: 1;
1010
*display: inline;
1111
vertical-align: middle;
12+
height: 34px;
13+
/* force no padding */
14+
padding: 0 !important;
1215
}
1316

1417
.select2-container,
@@ -30,14 +33,14 @@ Version: 3.4.0 Timestamp: Tue May 14 08:27:33 PDT 2013
3033

3134
.select2-container .select2-choice {
3235
display: block;
33-
height: 26px;
36+
height: 34px;
3437
padding: 0 0 0 8px;
3538
overflow: hidden;
3639
position: relative;
3740

3841
border: 1px solid #aaa;
3942
white-space: nowrap;
40-
line-height: 26px;
43+
line-height: 34px;
4144
color: #444;
4245
text-decoration: none;
4346

@@ -206,7 +209,7 @@ Version: 3.4.0 Timestamp: Tue May 14 08:27:33 PDT 2013
206209
display: block;
207210
width: 100%;
208211
height: 100%;
209-
background: url('../img/select2.png') no-repeat 0 1px;
212+
background: url('../img/select2.png') no-repeat 0 4px;
210213
}
211214

212215
.select2-search {
@@ -320,7 +323,7 @@ Version: 3.4.0 Timestamp: Tue May 14 08:27:33 PDT 2013
320323
filter: none;
321324
}
322325
.select2-dropdown-open .select2-choice div b {
323-
background-position: -18px 1px;
326+
background-position: -18px 4px;
324327
}
325328

326329
/* results */

0 commit comments

Comments
 (0)