Skip to content

Commit

Permalink
fix(basic card list): only set required margins
Browse files Browse the repository at this point in the history
affects: @buildit/gravity-ui-web
  • Loading branch information
dw-buildit committed May 17, 2019
1 parent cbe7ed6 commit 62cb841
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,15 @@
@media all and (min-width: grav-breakpoint(medium)) {
display: flex;
flex-wrap: wrap;
margin: 0 -$grav-sp-l;
margin-right: -$grav-sp-l;
margin-left: -$grav-sp-l;

> {
// 2 col layout
li {
flex: 50%;
padding: 0 $grav-sp-l;
padding-right: $grav-sp-l;
padding-left: $grav-sp-l;
}

// Remove top margin from 2nd card
Expand Down

0 comments on commit 62cb841

Please sign in to comment.