You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by li...@apache.org on 2021/05/10 20:39:13 UTC

[superset] branch master updated: fix image width to 1000px for email (#14527)

This is an automated email from the ASF dual-hosted git repository.

lilykuang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git


The following commit(s) were added to refs/heads/master by this push:
     new adbe56c  fix image width to 1000px for email (#14527)
adbe56c is described below

commit adbe56c8a894af17ae2ba50f2b3771818e46793b
Author: Lily Kuang <li...@preset.io>
AuthorDate: Mon May 10 13:38:07 2021 -0700

    fix image width to 1000px for email (#14527)
---
 superset/reports/notifications/email.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/superset/reports/notifications/email.py b/superset/reports/notifications/email.py
index ff3f816..d866377 100644
--- a/superset/reports/notifications/email.py
+++ b/superset/reports/notifications/email.py
@@ -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 "",
         )