这是indexloc提供的服务,不要输入任何密码
Skip to content

🐛 [Amp story panning media] Set width and height of amp img element #36340

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Oct 13, 2021

Conversation

processprocess
Copy link
Contributor

Specified width and height on the amp-img element prevents the image from being clipped.
Adding inline-block to the inner img element ensures consistent cross-browser centering.

@amp-owners-bot
Copy link

Hey @gmajoulet, @newmuis! These files were changed:

extensions/amp-story-panning-media/0.1/amp-story-panning-media.css
extensions/amp-story-panning-media/0.1/amp-story-panning-media.js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants