Sprites are defaulting to repeat not no-repeat #851

Closed
ramaboo opened this Issue Apr 18, 2012 · 3 comments

Comments

Projects
None yet
4 participants
@ramaboo

ramaboo commented Apr 18, 2012

Version 0.12.1

I have the following code in a sass file:

$admin-sprite: sprite-map('sprites/admin/*.png')

#foo
  background: sprite($admin-sprite, dashboard)

When I look at the generated stylesheet I see this:

#foo {
  background: url(/assets/sprites/admin-s483476d433.png) 0 -112px;
}

From the documentation http://compass-style.org/reference/compass/helpers/sprites/ I would have expected it to include no-repeat.

I tried passing in options for no-repeat but could not get any of them to work as expected.

David

@ajmorris

This comment has been minimized.

Show comment Hide comment
@ajmorris

ajmorris May 1, 2012

I too am having this problem. Anyone got a way to get this to work?

ajmorris commented May 1, 2012

I too am having this problem. Anyone got a way to get this to work?

@chriseppstein

This comment has been minimized.

Show comment Hide comment
@chriseppstein

chriseppstein Jun 4, 2012

Owner

I am not seeing this. Can you make a small compass project that reproduces this issue and send it to me?

Owner

chriseppstein commented Jun 4, 2012

I am not seeing this. Can you make a small compass project that reproduces this issue and send it to me?

@MoOx

This comment has been minimized.

Show comment Hide comment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment