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

No new line after selector in scss files #666

Closed
piotros opened this issue Apr 9, 2015 · 1 comment
Closed

No new line after selector in scss files #666

piotros opened this issue Apr 9, 2015 · 1 comment

Comments

@piotros
Copy link

piotros commented Apr 9, 2015

There is a problem with "selector_separator_newline" option in scss files.
At the first level everything is ok. Problem occurs when we use nested selectors.
Instead of this:

.selector-1,
.selector-2 {
    .nested-selector-1, .nested-selector-2 {
        color: red;
    }
}

prettified output should look like this:

.selector-1,
.selector-2 {
    .nested-selector-1,
    .nested-selector-2 {
        color: red;
    }
}
@jared-christensen
Copy link

I ran into the same issue.

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

3 participants