Given the HTML :
<div class="parent">
<div class="element"></div>
<div class="other"></div>
</div>
And this Sass :
.parent {
.element {
@include span-columns(2.5 of 8);
}
}
It generates the CSS :
.parent .element {
float: left;
display: block;
margin-right: 3.22581%;
width: 29.03226%;
}
.parent .element:last-child {
margin-right: 0;
}
The part with :last-child
is bothering me, because it overrides the first rule with right-margin
that I want to keep. How do I prevent Neat from adding the :last-child
rule ? Or what workaround should I do to set my desired right margin ?