Adding space between badges for medium-sized viewports

This commit is contained in:
Kris 2018-12-11 09:45:49 -05:00
parent 71a5369fef
commit 4cc0a3503b
1 changed files with 10 additions and 9 deletions

View File

@ -206,16 +206,20 @@
}
&.medium {
vertical-align: top;
flex: 0 0 32%;
flex: 0 0 auto;
width: 32%;
margin-right: calc(2% - 3px);
@media screen and (min-width: 851px) {
&:nth-of-type(3n) {
margin-right: 0;
}
}
@include breakpoint(medium) {
flex: 0 0 49%;
width: 48.5%;
&:nth-of-type(2n) {
margin-right: 0;
}
}
@include breakpoint(mobile) {
flex: 0 0 100%;
}
@ -225,9 +229,6 @@
&:active {
box-shadow: none;
}
@include breakpoint(mobile-small) {
width: 100%;
}
}
&.large {
width: 100%;