Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stylesheet::Minifier should not remove spaces inside media query blocks #22

Open
gsmendoza opened this issue May 14, 2012 · 0 comments
Open

Comments

@gsmendoza
Copy link

Given Smurf 1.0.8
And I have the following content
  content = " @media screen and (min-width: 720px) { .flight-group .date h2 { display: none; } } "
When I include Minifier in the content
  class << content; include Smurf::Stylesheet::Minifier; end
And I remove the spaces inside the blocks of the content
  content.remove_spaces_inside_block
Then I should get
  " @media screen and (min-width: 720px) {.flight-group .date h2{display:none;} } "
But instead I get
  " @media screen and (min-width: 720px) {.flight-group.dateh2{display:none;} } "
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant