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

Padding and Margin on body gets overwritten #79

Open
MALIK-0 opened this issue Jul 29, 2018 · 0 comments
Open

Padding and Margin on body gets overwritten #79

MALIK-0 opened this issue Jul 29, 2018 · 0 comments

Comments

@MALIK-0
Copy link

MALIK-0 commented Jul 29, 2018

Hi there,

I'm using HEML to code an email signature.
While using it I found out that some of my styles get overwritten no matter what.

For example I want to set a padding of 16px on my body element which gets overwritten by 0px !important. This may be good for email newsletters which are full coded in html but in use cases like a signature you need to ensure that your signature and the rest of your text which you write in your email client line up properly without sticking to the edge of the window.

My current workaround is to set the padding for the body after I generated the html. However this means everytime I generate the html I have to do this again.

It would be nice if HEML would check for existing padding on the body element before overwriting it.

Thank you guys. Have a nice day.

Tobias

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

1 participant