We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9a0bba9 commit 1a9956cCopy full SHA for 1a9956c
scss/_card.scss
@@ -172,14 +172,17 @@
172
display: flex;
173
flex-direction: column;
174
175
- .card {
+ // The child selector allows nested `.card` within `.card-group`
176
+ // to display properly.
177
+ > .card {
178
margin-bottom: $card-group-margin;
179
}
180
181
@include media-breakpoint-up(sm) {
182
flex-flow: row wrap;
-
183
184
185
186
// Flexbugs #4: https://github.com/philipwalton/flexbugs#4-flex-shorthand-declarations-with-unitless-flex-basis-values-are-ignored
187
flex: 1 0 0%;
188
margin-bottom: 0;
0 commit comments