-
Notifications
You must be signed in to change notification settings - Fork 384
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
AMP page for image attachment has wrong alignment for image #4735
Comments
Somehow this issue is caused by this rule: amp-img:not([_]) {
display: block;
} This was added in #4421 to fix #4419: amp-wp/includes/sanitizers/class-amp-core-theme-sanitizer.php Lines 778 to 803 in 2bfb9bb
|
2 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug Description
The AMP page for an image attachment displays the image as centered, while the image non-AMP counterpart is left-aligned.
Expected Behaviour
AMP and non-AMP page for an image attachment should have the same alignment.
Steps to reproduce
Screenshots
Additional context
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
The text was updated successfully, but these errors were encountered: