Skip to content

Commit

Permalink
Fix indentation for parents with newlines in nested mode
Browse files Browse the repository at this point in the history
  • Loading branch information
mgreter committed Oct 29, 2019
1 parent f7567ea commit 0790fc8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/inspect.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1056,6 +1056,9 @@ namespace Sass {
{
if (sel->hasPreLineFeed()) {
append_optional_linefeed();
if (output_style() == NESTED) {
append_indentation();
}
}
const SelectorComponent* prev = nullptr;
for (auto& item : sel->elements()) {
Expand Down

0 comments on commit 0790fc8

Please sign in to comment.