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

Redudant space in interpolated selectors like nth(...) #1973

Closed
seven-phases-max opened this issue Apr 14, 2014 · 1 comment
Closed

Redudant space in interpolated selectors like nth(...) #1973

seven-phases-max opened this issue Apr 14, 2014 · 1 comment

Comments

@seven-phases-max
Copy link
Member

Example:

@i: 3;

ul li:nth-child(@{i}) {
    color: red;
}

ul {
    li:nth-child(@{i}) {
        background: red;
    }
}

Expected output:

ul li:nth-child(3) {
  color: red;
}
ul li:nth-child(3) {
  background: red;
}

Actual output:

ul li:nth-child(3) {
  color: red;
}
ul li:nth-child( 3) {
  background: red;
}

Tested v1.7.0 (but this seems to be introduced in v1.5.0).

@seven-phases-max
Copy link
Member Author

Closing as fixed in v2.

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

No branches or pull requests

2 participants