fix spacing on last item of card grid

This commit is contained in:
Jeremy Kauffman 2017-08-31 09:12:03 -04:00
parent 73750bb18c
commit e169737f5d

View file

@ -268,7 +268,7 @@ if we keep doing things like this, we should add a real grid system, but I'm goi
width: $width-page-constrained / 2 - $margin-card-grid / 2;
flex-grow:1;
}
> .card:nth-of-type(2n - 1) {
> .card:nth-of-type(2n - 1):not(:last-child) {
margin-right: $margin-card-grid;
}
}