1
0
mirror of synced 2024-11-22 21:16:10 +03:00

Fixed dpi warning [Fixes #1964]

This commit is contained in:
Kevin Brown 2014-01-12 11:10:51 -05:00
parent 79ee2084dc
commit 4f4d77d36e

View File

@ -614,14 +614,19 @@ html[dir="rtl"] .select2-search-choice-close {
height: 100px;
overflow: scroll;
}
/* Retina-ize icons */
@media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-resolution: 144dpi) {
.select2-search input, .select2-search-choice-close, .select2-container .select2-choice abbr, .select2-container .select2-choice .select2-arrow b {
@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 {
background-image: url('select2x2.png') !important;
background-repeat: no-repeat !important;
background-size: 60px 40px !important;
}
.select2-search input {
background-position: 100% -21px !important;
}