Reset default margin and set default padding-left

Because we want to have the best user experience for most of email client,
we reset the margin and set padding-left for the same look.
[MAILPOET-5645]
This commit is contained in:
Jan Lysý
2023-11-09 17:34:45 +04:00
committed by Rostislav Wolný
parent 60fd4b6c8a
commit 2ca611bacb
2 changed files with 27 additions and 0 deletions

View File

@@ -36,6 +36,17 @@ p {
margin: 13px 0;
}
ul,
ol,
li {
margin: 0;
}
/* Wa want ensure the same design for all email clients */
ul,
ol {
padding-left: 40px;
}
/* https://www.emailonacid.com/blog/article/email-development/tips-for-coding-email-preheaders */
.email_preheader,
.email_preheader * {