Fix Twenty Seventeen featured image display #1677
Steps to Reproduce
Thanks to @westonruter for reporting this.
The text was updated successfully, but these errors were encountered:
As Weston mentioned, this sometimes stretches to fill the entire screen width. Part of the issue is that the AMP runtime sets an inline width style based on the sizes attribute. ampproject/amphtml#17053 Also, there's a style rule in twentyseventeen/style.css that changes the <amp-img> to display: block The typical display for an <amp-img> is inline-block. So override that rule, and ensure it's centered.