Kronuz/pyScss

nested @page locations get seperated

MattSturgeon opened this issue · 0 comments

Given the following CSS input:

@page{
  size: A4;
  margin: 1em;
  
  @top-left {
    content: 'Cool Title';
  }
  @bottom-center {
    content: 'Page ' counter(page) ' of ' counter(pages);
  }
}

pyScss unnecessarily separates the @page properties from the margin selectors:

@page {
  size: A4;
  margin: 1em;
}
@page {
  @top-left {
    content: 'Cool Title';
  }
  @bottom-center {
    content: 'Page ' counter(page) ' of ' counter(pages);
  }
}

Sass leaves the CSS untouched.