Improved css for html emails.

This commit is contained in:
Martin Edenhofer 2015-01-09 12:53:44 +01:00
parent 61d9f65cf9
commit 5367c34540
2 changed files with 18 additions and 4 deletions

View file

@ -3076,10 +3076,19 @@ footer {
overflow-wrap: break-word;
}
/* email css reset */
.text-bubble p {
margin: 0;
}
.text-bubble blockquote,
.text-bubble pre
{
margin: 0px;
padding: 8px 12px 8px 12px;
}
.ticket-article-item.state--folde-out .text-bubble {
border-color: hsl(0,0%,90%);
}

View file

@ -136,14 +136,19 @@ module Channel::EmailBuild
border-collapse: collapse;
}
table {
border-collapse:collapse; mso-table-lspace:0pt; mso-table-rspace:0pt;
}
p {
margin: 0;
border-collapse: collapse; mso-table-lspace:0pt; mso-table-rspace:0pt;
}
p, table, div, td {
max-width: 600px;
}
p {
margin: 0;
}
blockquote, pre {
margin: 0px;
padding: 8px 12px 8px 12px;
}
</style>
<head>
<body style="#{css}">#{html}</body>