Skip to content

Commit

Permalink
Merge pull request #1044 from mgreter/bugfix/feature-block-indent
Browse files Browse the repository at this point in the history
Fix tabs when bubbling feature blocks
  • Loading branch information
mgreter committed Apr 5, 2015
2 parents 5a037bb + 427a31c commit f82a41b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
2 changes: 2 additions & 0 deletions cssize.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,8 @@ namespace Sass {
m->feature_queries(),
wrapper_block);

mm->tabs(m->tabs());

Bubble* bubble = new (ctx.mem) Bubble(mm->pstate(), mm);
return bubble;
}
Expand Down
10 changes: 3 additions & 7 deletions inspect.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -58,14 +58,10 @@ namespace Sass {
void Inspect::operator()(Bubble* bubble)
{
append_indentation();
append_token("Bubble", bubble);
append_optional_space();
append_string("(");
append_optional_space();
append_token("::BUBBLE", bubble);
append_scope_opener();
bubble->node()->perform(this);
append_optional_space();
append_string(")");
append_optional_space();
append_scope_closer();
}

void Inspect::operator()(Media_Block* media_block)
Expand Down

0 comments on commit f82a41b

Please sign in to comment.