add comment for card width

This commit is contained in:
Sean Yesmunt 2018-03-30 12:30:43 -04:00
parent 00e2e5e6da
commit 3d0900d825

View file

@ -336,7 +336,7 @@
display: inline-block; display: inline-block;
vertical-align: top; vertical-align: top;
overflow: visible; overflow: visible;
// we should use $spacing-width - 1px here, not sure why it isn't working // 35 px to handle to padding between cards
width: calc((100% / 3) - 35px); width: calc((100% / 3) - 35px);
} }
@ -350,6 +350,7 @@
@media only screen and (min-width: $medium-breakpoint) { @media only screen and (min-width: $medium-breakpoint) {
.card { .card {
// 31 px to handle to padding between cards
width: calc((100% / 4) - 31px); width: calc((100% / 4) - 31px);
} }
} }