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

Unnecessary padding warning #12

Open
arasmussen opened this issue Jun 1, 2016 · 1 comment
Open

Unnecessary padding warning #12

arasmussen opened this issue Jun 1, 2016 · 1 comment

Comments

@arasmussen
Copy link

arasmussen commented Jun 1, 2016

Style property padding supplied to Item, in outlook: padding for p, div and a tags is not supported

The Item component adds the padding to a <td /> so this warning seems unnecessary. Can we only give it when the padding is added to a p, div, or a tag?

@chromakode
Copy link
Owner

chromakode commented Jul 19, 2016

Good idea! This warning is not very smart; it comes from the scraped data and doesn't know about the component it is being called on. We should add a special case to the style validator that checks for this warning string and checks whether the component matches.

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

No branches or pull requests

2 participants