Permalink
Browse files

Replaced media-query with hidpi mixin

  • Loading branch information...
1 parent bb65422 commit 33f615a180441f54778d07515b4716ef13943486 Phil LaPier committed Feb 1, 2013
Showing with 2 additions and 6 deletions.
  1. +2 −6 app/assets/stylesheets/addons/_retina-image.scss
@@ -3,11 +3,7 @@
height: $image-height;
width: $image-width;
- @media (min--moz-device-pixel-ratio: 1.3),
- (-o-min-device-pixel-ratio: 2.6/2),
- (-webkit-min-device-pixel-ratio: 1.3),
- (min-device-pixel-ratio: 1.3),
- (min-resolution: 1.3dppx) {
+ @include hidpi {
@if $asset-pipeline {
@if $retina-filename {
@@ -27,7 +23,7 @@
}
}
- background-size: $image-width $image-height;
+ background-size: $image-width $image-height;
}
}

0 comments on commit 33f615a

Please sign in to comment.