'VS Code extension Live Sass Compiler comment issue
I have an issue where when I compile my Sass file with Live Sass Compiler, all of the comments get moved to the top of the CSS file. I only see this happen when I nest the CSS.
Example- This is the Sass:
.compact {
/* Tag - Compact
--------------------------------- */
.badge {
font-size: 13px;
}
/* Generic Table - Compact
----------------------------------------------- */
.wf-table table {
vertical-align: middle;
}
/* center-aligns ALL checkboxes within .wf-table */
.wf-table table * tr td input[type='checkbox'] {
display: block;
margin-left: auto;
margin-right: auto;
}
}
This is how the CSS appears:
/* Tag - Compact
--------------------------------- */
/* Generic Table - Compact
----------------------------------------------- */
/* center-aligns ALL checkboxes within .wf-table */
.compact .badge {
font-size: 13px;
}
.compact .wf-table table {
vertical-align: middle;
}
.compact .wf-table table * tr td input[type='checkbox'] {
display: block;
margin-left: auto;
margin-right: auto;
}
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
