]> git.openstreetmap.org Git - rails.git/commitdiff
Use the asset pipeline to load the sprite
authorTom Hughes <tom@compton.nu>
Tue, 30 Oct 2012 22:41:07 +0000 (22:41 +0000)
committerTom Hughes <tom@compton.nu>
Tue, 30 Oct 2012 22:41:07 +0000 (22:41 +0000)
app/assets/stylesheets/common.css.scss

index 7a07c378e5ae8ba549177cdb396acb1d0eeb66b7..ecdb40b44854783e7d69edda16d9695904fd335c 100644 (file)
@@ -256,7 +256,7 @@ h2 {
   text-transform: capitalize;
   padding-left: 0px;
   padding-right: 0px;
-  background: url(sprite.png);
+  background: image-url("sprite.png");
   position: absolute;
   top: 5px;
   cursor: pointer;
@@ -308,7 +308,7 @@ h2 {
   border: 0px;
   padding-left: 0px;
   padding-right: 0px;
-  background: url(sprite.png) 0 -30px no-repeat;
+  background: image-url("sprite.png") 0 -30px no-repeat;
   position: absolute;
   top: 8px;
 }