Skip to content

Commit

Permalink
πŸ› [amp-story-panning-media] Set width on amp-img el (#36217)
Browse files Browse the repository at this point in the history
* Set width on amp-img el.

* Add height
  • Loading branch information
processprocess committed Sep 30, 2021
1 parent 5bcd648 commit 22a550f
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ amp-story-panning-media {

amp-story-panning-media amp-img {
backface-visibility: hidden !important;
/* Width explicitly set for mobile chrome, desktop safari & desktop firefox. */
width: 100% !important;
height: 100% !important;
}

amp-story-grid-layer[template="fill"] amp-story-panning-media amp-img img {
Expand Down

0 comments on commit 22a550f

Please sign in to comment.