瀏覽代碼
Merge pull request #13747 from surajshetty3416/fix-email-style
version-14
Suraj Shetty
4 年之前
committed by
GitHub
沒有發現已知的金鑰在資料庫的簽署中
GPG 金鑰 ID: 4AEE18F83AFDEB23
共有
2 個檔案被更改,包括
8 行新增 和
2 行删除
-
frappe/email/test_email_body.py
-
frappe/public/scss/email.bundle.scss
|
|
@@ -127,7 +127,7 @@ w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
|
|
|
''' |
|
|
|
transformed_html = ''' |
|
|
|
<h3>Hi John</h3> |
|
|
|
<p style="margin:5px 0 !important">This is a test email</p> |
|
|
|
<p style="margin:1em 0 !important">This is a test email</p> |
|
|
|
''' |
|
|
|
self.assertTrue(transformed_html in inline_style_in_html(html)) |
|
|
|
|
|
|
|
|
|
@@ -36,7 +36,13 @@ a { |
|
|
|
} |
|
|
|
|
|
|
|
p { |
|
|
|
margin: 5px 0 !important; |
|
|
|
margin: 1em 0 !important; |
|
|
|
} |
|
|
|
|
|
|
|
.with-container { |
|
|
|
p { |
|
|
|
margin: 5px 0 !important; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
.ql-editor { |
|
|
|