Card headers / footers not inheriting styling from .card-outline-variant
Created by: shamoon
Seems to me that .card-outline-variant
should pass this rather specific styling down to its usual descendants .card-header
and .card-footer
in the same way that .card-primary
affects styling of these divs. Instead, at the moment you wound need to apply .card-outline-variant
to the descendant divs themselves for them to have the same styling of the card.
Agreed?
Simple fix is to add a few lines to the 'card-outline-variant' mixin, mixins/_cards.scss:
.card-header,
.card-footer {
background-color: transparent;
border-color: $color;
}