Merge pull request #2770 from stonys/master
Add padding to select2 container displayed above
This commit is contained in:
commit
39394e2ee8
11
select2.css
11
select2.css
@ -177,10 +177,6 @@ html[dir="rtl"] .select2-container .select2-choice > .select2-chosen {
|
|||||||
width: auto;
|
width: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.select2-drop-auto-width .select2-search {
|
|
||||||
padding-top: 4px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.select2-container .select2-choice .select2-arrow {
|
.select2-container .select2-choice .select2-arrow {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
width: 18px;
|
width: 18px;
|
||||||
@ -227,8 +223,7 @@ html[dir="rtl"] .select2-container .select2-choice .select2-arrow b {
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
min-height: 26px;
|
min-height: 26px;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding-left: 4px;
|
padding: 4px 4px 0 4px;
|
||||||
padding-right: 4px;
|
|
||||||
|
|
||||||
position: relative;
|
position: relative;
|
||||||
z-index: 10000;
|
z-index: 10000;
|
||||||
@ -270,10 +265,6 @@ html[dir="rtl"] .select2-search input {
|
|||||||
background: url('select2.png') no-repeat -37px -22px, linear-gradient(to bottom, #fff 85%, #eee 99%) 0 0;
|
background: url('select2.png') no-repeat -37px -22px, linear-gradient(to bottom, #fff 85%, #eee 99%) 0 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.select2-drop.select2-drop-above .select2-search input {
|
|
||||||
margin-top: 4px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.select2-search input.select2-active {
|
.select2-search input.select2-active {
|
||||||
background: #fff url('select2-spinner.gif') no-repeat 100%;
|
background: #fff url('select2-spinner.gif') no-repeat 100%;
|
||||||
background: url('select2-spinner.gif') no-repeat 100%, -webkit-gradient(linear, left bottom, left top, color-stop(0.85, #fff), color-stop(0.99, #eee));
|
background: url('select2-spinner.gif') no-repeat 100%, -webkit-gradient(linear, left bottom, left top, color-stop(0.85, #fff), color-stop(0.99, #eee));
|
||||||
|
Loading…
Reference in New Issue
Block a user