add comment for card width
This commit is contained in:
parent
00e2e5e6da
commit
3d0900d825
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue