fix: import font for notification digest email (#35720)
* fix: import font for notification digest email * fix: font smoothing and size
This commit is contained in:
@@ -28,8 +28,9 @@
|
||||
style="max-height: 28px; max-width: 28px; margin: 0.75rem 1rem 0.75rem 0"
|
||||
/>
|
||||
</td>
|
||||
<td class="notification-content" width="100%" align="left" valign="top" style=" padding: 1rem 1rem 1rem 0.5rem">
|
||||
<td class="notification-content" width="100%" align="left" valign="top" style="padding: 1rem 1rem 1rem 0.5rem;">
|
||||
<blockquote style="font-size: 0.875rem; font-weight:400; line-height:24px; color:#454545; margin: 0 0 0.5rem 0;">
|
||||
<style> strong {color: #00262B; font-weight:500} </style>
|
||||
{{ notification.email_content | truncatechars_html:600 | safe }}
|
||||
</blockquote>
|
||||
{% if notification.details %}
|
||||
@@ -37,7 +38,7 @@
|
||||
{{ notification.details | safe }}
|
||||
</blockquote>
|
||||
{% endif %}
|
||||
<blockquote style="color:#707070; margin: 0">
|
||||
<blockquote style="color:#707070; margin: 0; font-size: 14px; font-style: normal; font-weight: 400; line-height: 24px;">
|
||||
<span style="float: left">
|
||||
<span>{{ notification.course_name }}</span>
|
||||
<span style="padding: 0 0.375rem">{{ "·"|safe }}</span>
|
||||
|
||||
@@ -1,4 +1,8 @@
|
||||
<div style="margin:0; padding:0; min-width: 100%; background-color:#C9C9C9">
|
||||
<head>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap'" rel="stylesheet" type="text/css">
|
||||
</head>
|
||||
|
||||
<div style="margin:0; padding:0; min-width: 100%; background-color:#C9C9C9; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; font-smooth: never;">
|
||||
<table align="center" border="0" cellpadding="0" cellspacing="0" width="100%" style="line-height:1.5; max-width:600px; font-family:Inter">
|
||||
<tbody style="background-color:#f5f5f5">
|
||||
<tr>
|
||||
|
||||
Reference in New Issue
Block a user