Skip to content
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

A small featured image is not centered in Twenty Twenty theme #4336

Closed
pierlon opened this issue Feb 26, 2020 · 0 comments · Fixed by #4370
Closed

A small featured image is not centered in Twenty Twenty theme #4336

pierlon opened this issue Feb 26, 2020 · 0 comments · Fixed by #4370
Labels
Bug Something isn't working
Milestone

Comments

@pierlon
Copy link
Contributor

pierlon commented Feb 26, 2020

Bug Description

When a small featured image (with a size below the recommended 1200x675px) is used for a post with the Twenty Twenty theme activated, the image is not centered on the AMP page.

Closely related: #4335.

Expected Behaviour

The featured image should be centered on the AMP page if a small featured image is used.

Steps to reproduce

  1. Activate Twenty Twenty theme
  2. Set a small featured image on a post, for example:
    image
  3. Verify that the featured image is not centered on the AMP page

Screenshots

image

Additional context

  • WordPress version:
  • Plugin version:
  • Gutenberg plugin version (if applicable):
  • AMP plugin template mode:
  • PHP version:
  • OS:
  • Browser: [e.g. chrome, safari]
  • Device: [e.g. iPhone6]

Do not alter or remove anything below. The following sections will be managed by moderators only.

Acceptance criteria

Implementation brief

QA testing instructions

Demo

Changelog entry

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
2 participants