Not sure why my div elements are not spanning the full width of my bourbon grid. The process only happens for the last two divs. see image. Why does it behave in this way? Experiencing a similar issue on codepen. Why aren't the div elements occupying the full grid?
HTML
<div class="main-container">
<div class="articles">
<article></article>
<article></article>
<article></article>
<article></article>
<article></article>
</div>
</div>
CSS
.articles{
@include outer-container;
article {
margin-bottom: 50px;
border-bottom: 1px solid $lightest-grey;
img{
width: 100%;
height: auto;
}
span{
color: $light-grey;
}
}
}
@include media ($tablet) {
article{
@include span-columns(3 of 6);
}
}
Solution: I had to add @include omega(2n)
. I'm not sure if this is a good method but will suffice for now.