This is a tricky one. My SCSS file looks like this:
@media all and (min-width: 1000px) {
article {
header {
ol {
li {
.post-author {
&:before { content: ''; }
&:after { content: '*'; }
}
}
}
}
}
}
When it gets compiled, here is the source:
@media all and (min-width: 1000px) {
article header ol li article header ol li .post-author: before {
content: '';
}
article header ol li article header ol li .post-author:after {
content: '*';
}
}
The chain of selectors "article header ol li" are being repeated twice, when I was only expecting it once.
Any ideas on how to fix this?
This is a tricky one. My SCSS file looks like this:
When it gets compiled, here is the source:
The chain of selectors "article header ol li" are being repeated twice, when I was only expecting it once.
Any ideas on how to fix this?