Skip to content

Commit

Permalink
Email css clean up (#5980)
Browse files Browse the repository at this point in the history
* Set cssutils log level to ERROR

* Remove -ms-interpolation-mode
  • Loading branch information
smithellis authored Apr 30, 2024
1 parent 106fc31 commit 06edac5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions kitsune/sumo/email_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ def make_mail(
html = transform(
render_email(html_template, context_vars),
base_url="https://" + Site.objects.get_current().domain,
cssutils_logging_level=logging.ERROR,
)
mail.attach_alternative(html, "text/html")

Expand Down
1 change: 0 additions & 1 deletion kitsune/sumo/jinja2/email/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@
elements. Apply the "image_fix" class to any image you need to fix.
*/
img {
-ms-interpolation-mode: bicubic;
outline:none;
text-decoration:none;
}
Expand Down

0 comments on commit 06edac5

Please sign in to comment.