Offset horizontal padding in cards with a carousel

This commit is contained in:
Christopher C. Wells 2020-02-15 14:30:27 -08:00 committed by Christopher Charbonneau Wells
parent 8dd2aa9b3a
commit 0b437ae5cf
1 changed files with 8 additions and 0 deletions

View File

@ -14,6 +14,14 @@
.card-text { .card-text {
@extend .text-muted; @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;
}
} }
} }