Skip to content

Commit

Permalink
fix(card-basic): fixes size of picture elements
Browse files Browse the repository at this point in the history
affects: @buildit/gravity-ui-web

When cards wrap their image in a <picture> element, it doesn't fill the width of the card as it
should. This fixes that.
  • Loading branch information
James Nash committed Jan 16, 2020
1 parent aaaf7c9 commit e44da69
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@
object-fit: cover;
}

picture {
display: block;
}

> a {
display: block;
position: relative;
Expand Down

0 comments on commit e44da69

Please sign in to comment.