Skip to content
This repository has been archived by the owner on Nov 17, 2020. It is now read-only.

image-path is not expanded in the stylesheet #3

Open
madx opened this issue May 31, 2012 · 1 comment
Open

image-path is not expanded in the stylesheet #3

madx opened this issue May 31, 2012 · 1 comment

Comments

@madx
Copy link

madx commented May 31, 2012

I'm using tipsy-rails 1.0.3 with sass-rails 3.2.5 (sass 3.1.19) and I've noticed that the small black triangles were missing.

The resulting CSS looks like:

.tipsy-arrow {
  position: absolute;
  background: url(image-path("tipsy/tipsy.gif")) no-repeat top left;
  width: 9px;
  height: 5px; }

The position of the last } hints that compilation is actually done, but I don't get why the image-path call is not expanded.

I don't really know if it is a tipsy-rails issue or if it's sass-rails and I could use a little help about this :-)

@nragaz
Copy link
Owner

nragaz commented Jun 1, 2012

Try replacing it with asset-path("tipsy-tipsy.gif", image) and see if that works. To be honest, I don't use this myself anymore so I can be of limited help.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants