Adding space between badges for medium-sized viewports
This commit is contained in:
parent
71a5369fef
commit
4cc0a3503b
|
@ -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%;
|
||||
|
|
Loading…
Reference in New Issue