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

Define image dimensions inline instead of via CSS #23

Merged
merged 1 commit into from
Jul 6, 2018

Conversation

westonruter
Copy link
Contributor

It is a best practice for image dimensions to be defined inline instead of via CSS. This prevents bad things from happening if the CSS fails to load (for example if the stylesheet gets excluded in AMP if it goes over 50KB):

screen shot 2018-07-06 at 11 35 20 am

@danielbachhuber
Copy link
Contributor

Thanks! Tests fixed in #24

@danielbachhuber danielbachhuber merged commit 26f2254 into pantheon-systems:master Jul 6, 2018
@danielbachhuber danielbachhuber added this to the 0.1.3 milestone Jul 6, 2018
@danielbachhuber
Copy link
Contributor

Just tagged the v0.1.3 release.

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

Successfully merging this pull request may close these issues.

2 participants