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

Beautifying SCSS removes newline in nested selectors #558

Closed
filipesilva opened this issue Sep 22, 2015 · 3 comments
Closed

Beautifying SCSS removes newline in nested selectors #558

filipesilva opened this issue Sep 22, 2015 · 3 comments
Assignees
Labels
Milestone

Comments

@filipesilva
Copy link
Contributor

I tried running this example in prettydiff (which is the default for SCSS) but I could not get it to reproduce. It happens in atom though.

Input:

.comments {
  .card-block {
    background-color: #f5f5f5;
  }
}

Expected:

.comments {
  .card-block {
    background-color: #f5f5f5;
  }
}

Actual:

.comments {.card-block {
    background-color: #f5f5f5;
  }
}
@Glavin001
Copy link
Owner

I tried running this example in prettydiff (which is the default for SCSS) but I could not get it to reproduce. It happens in atom though.

Sounds like maybe the Pretty Diff dependency installed within Atom Beautify may not be updated and Pretty Diff has a bug fix that you do not have.

Try uninstalling and reinstalling Atom Beautify, this will trigger a fresh install of the latest Pretty Diff and hopefully resolve your issue.

If this does not work, then please follow the steps outlined for creating new Issues: https://github.com/Glavin001/atom-beautify/blob/master/CONTRIBUTING.md#new-issues-bugs-questions-etc

@filipesilva
Copy link
Contributor Author

Reinstalling did the trick. Should have tried that first!

@Glavin001 Glavin001 self-assigned this Sep 22, 2015
@Glavin001 Glavin001 added this to the v0.29.0 milestone Sep 22, 2015
@Glavin001
Copy link
Owner

No problem! Glad it worked 😃.

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

No branches or pull requests

2 participants