From: Tom Hughes Date: Tue, 30 Oct 2012 22:41:07 +0000 (+0000) Subject: Use the asset pipeline to load the sprite X-Git-Tag: live~5778 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/318f578954c83887727e9a8ffefd7c9261a0edcc Use the asset pipeline to load the sprite --- diff --git a/app/assets/stylesheets/common.css.scss b/app/assets/stylesheets/common.css.scss index 7a07c378e..ecdb40b44 100644 --- a/app/assets/stylesheets/common.css.scss +++ b/app/assets/stylesheets/common.css.scss @@ -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; }