Skip to content

Commit

Permalink
fix(ray-card): add support for bg images
Browse files Browse the repository at this point in the history
  • Loading branch information
Celeste Glavin committed May 17, 2019
1 parent 8eaa057 commit 1a92836
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/core/src/components/card/_card.scss
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,12 @@
}
}

@each $ratio, $value in $ray-image-ratio-map-half {
.#{$ray-class-prefix}bg--#{$ratio} {
padding-bottom: $value;
}
}

.#{$ray-class-prefix}card__content {
padding: 2.5rem;

Expand Down

0 comments on commit 1a92836

Please sign in to comment.