I'm currently using Bourbon Neat. I need .posts__post
to span 3 of 6 columns on tablet and then 2 of 6 on on desktop and above. However i'm finding that my desktop media query is not working and that the tablet query remains through to desktop.
_grid.scss
$tablet: em(768);
$desktop: em(960);
// Breakpoints
$tablet: new-breakpoint(min-width $tablet 6) ;
$desktop: new-breakpoint(min-width $desktop 6);
posts.scss
@include media ($tablet) {
.posts__post{
@include span-columns(3 of 6);
@include omega(2n);
}
}
@include media ($desktop) {
.posts__post{
@include span-columns(2 of 6); // only spans up to 4 columns in total
@include omega(3n); // still remains as 2n
}
Here is what im trying to achieve for [desktop][1. Not sure what i'm doing wrong. This could be resolved if the omega(3n) in $desktop media query is respected, however its not and remains as 2n.