Fixed dpi warning [Fixes #1964]
This commit is contained in:
parent
79ee2084dc
commit
4f4d77d36e
23
select2.css
23
select2.css
@ -614,15 +614,20 @@ html[dir="rtl"] .select2-search-choice-close {
|
|||||||
height: 100px;
|
height: 100px;
|
||||||
overflow: scroll;
|
overflow: scroll;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Retina-ize icons */
|
/* Retina-ize icons */
|
||||||
|
|
||||||
@media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-resolution: 144dpi) {
|
@media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-resolution: 2ppx) {
|
||||||
.select2-search input, .select2-search-choice-close, .select2-container .select2-choice abbr, .select2-container .select2-choice .select2-arrow b {
|
.select2-search input,
|
||||||
background-image: url('select2x2.png') !important;
|
.select2-search-choice-close,
|
||||||
background-repeat: no-repeat !important;
|
.select2-container .select2-choice abbr,
|
||||||
background-size: 60px 40px !important;
|
.select2-container .select2-choice .select2-arrow b {
|
||||||
}
|
background-image: url('select2x2.png') !important;
|
||||||
.select2-search input {
|
background-repeat: no-repeat !important;
|
||||||
background-position: 100% -21px !important;
|
background-size: 60px 40px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.select2-search input {
|
||||||
|
background-position: 100% -21px !important;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user