-
Notifications
You must be signed in to change notification settings - Fork 382
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove the sizes attribute from thumbnail images in Twenty Nineteen
The AMP runtime sets an inline style on an <amp-img> based on the sizes attribute if it's present. For example, <amp-img style="width:calc(50vw)">. Removing the 'sizes' attribute isn't ideal, but it looks like it's not possible to override that inline style. This is only a workaround until the issue is addressed in the amphtml repo.
- Loading branch information
Showing
1 changed file
with
26 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters