Skip to content

Commit

Permalink
Merge pull request #183 from optikfluffel/master
Browse files Browse the repository at this point in the history
make @2x image variants work in firefox
  • Loading branch information
tj committed May 13, 2013
2 parents e1b71cd + f9cb4fe commit a6786f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/nib/image.styl
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

image(path, w = auto, h = auto)
background-image: url(path)
@media all and (-webkit-min-device-pixel-ratio: 1.5)
@media all and (-webkit-min-device-pixel-ratio: 1.5), (min--moz-device-pixel-ratio: 1.5)
ext = extname(path)
path = pathjoin(dirname(path), basename(path, ext) + '@2x' + ext)
background-image: url(path)
Expand Down

0 comments on commit a6786f9

Please sign in to comment.