Permalink
Browse files

Simplify Opera's ratio

  • Loading branch information...
Reda Lemeden
Reda Lemeden committed Oct 12, 2012
1 parent b197e3b commit fd11625fe4a98d3544a2a9a00347c88de7c8d308
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/assets/stylesheets/addons/_hidpi-media-query.scss
@@ -2,7 +2,7 @@
@mixin hidpi($ratio: 1.3) {
@media only screen and (-webkit-min-device-pixel-ratio: $ratio),
only screen and (min--moz-device-pixel-ratio: $ratio),
- only screen and (-o-min-device-pixel-ratio: #{$ratio*10}/10),
+ only screen and (-o-min-device-pixel-ratio: #{$ratio}/1),
only screen and (min-resolution: #{round($ratio*96)}dpi),
only screen and (min-resolution: #{$ratio}dppx) {
@content;

0 comments on commit fd11625

Please sign in to comment.