Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

Commit

Permalink
fix(card): Center background image (#2388)
Browse files Browse the repository at this point in the history
  • Loading branch information
pshe94 authored and kfranqueiro committed Mar 14, 2018
1 parent 671aa4c commit 466e7db
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/mdc-card/mdc-card.scss
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
position: relative; // Child element `__media-content` has `position: absolute`
box-sizing: border-box;
background-repeat: no-repeat;
background-position: center;
background-size: cover;
}

Expand Down

0 comments on commit 466e7db

Please sign in to comment.