Skip to content

Commit

Permalink
Offset horizontal padding in cards with a carousel
Browse files Browse the repository at this point in the history
  • Loading branch information
cdubz committed Feb 15, 2020
1 parent a0ba36f commit fb6e849
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions dashboard/static_src/scss/cards.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,14 @@
.card-text {
@extend .text-muted;
}

// Offset horizontal padding in dashboard cards with a carousel.
.carousel {
margin-left: -$card-spacer-x;
margin-right: -$card-spacer-x;
padding-left: $card-spacer-x;
padding-right: $card-spacer-x;
}
}
}

Expand Down

0 comments on commit fb6e849

Please sign in to comment.