1
0
mirror of synced 2024-11-26 23:06:02 +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,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;
}
} }