Skip to content

Commit

Permalink
add object-fit to full bleed animation imgs (ampproject#18244)
Browse files Browse the repository at this point in the history
  • Loading branch information
Enriqe authored and torch2424 committed Oct 10, 2018
1 parent d8dff58 commit 25e87a5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion extensions/amp-story/1.0/amp-story-user-overridable.css
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ amp-story-grid-layer * {

.i-amphtml-story-grid-template-fill > amp-anim img,
.i-amphtml-story-grid-template-fill > amp-img img,
.i-amphtml-story-grid-template-fill > amp-video video {
.i-amphtml-story-grid-template-fill > amp-video video,
.i-amphtml-story-grid-template-with-full-bleed-animation > amp-img img {
object-fit: cover;
}

Expand Down

0 comments on commit 25e87a5

Please sign in to comment.