Преглед изворни кода

Future friendly retina-mq

Using 'dpi' as a unit should be the way to go in the future
Inkdpixels пре 13 година
родитељ
комит
e17f349bf7
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      select2.css

+ 1 - 1
select2.css

@@ -556,7 +556,7 @@ disabled look for already selected choices in the results dropdown
 
 /* Retina-ize icons */
 
-@media only screen and (-webkit-min-device-pixel-ratio: 1.5) {
+@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 div b {
       background-image: url('select2x2.png') !important;
       background-repeat: no-repeat !important;