fix image width to 1000px for email (#14527)

This commit is contained in:
Lily Kuang
2021-05-10 13:38:07 -07:00
committed by GitHub
parent e21beb76f1
commit adbe56c8a8

View File

@@ -76,7 +76,7 @@ class EmailNotification(BaseNotification): # pylint: disable=too-few-public-met
""",
description=self._content.description or "",
url=self._content.url,
img_tag='<img src="cid:{}">'.format(msgid)
img_tag='<img width="1000px" src="cid:{}">'.format(msgid)
if self._content.screenshot
else "",
)