Skip to content

Node.js based forum software built for the modern web

fix: #7461

Barış Soner Uşaklı96cb29aab0cb
diff --git a/src/views/emails/notification.tpl b/src/views/emails/notification.tpl
index 60579d48cd..489446e468 100644
--- a/src/views/emails/notification.tpl
+++ b/src/views/emails/notification.tpl
@@ -19,7 +19,7 @@
</tr>
<tr>
<td style="padding: 20px 40px; font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol; font-size: 15px; line-height: 20px; color: #555555;">
- <p style="margin: 0; padding: 6px 0px; font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol; font-size: 13px; line-height: 26px; color: #666666;">
+ <p class="notification-body" style="margin: 0; padding: 6px 0px; font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol; font-size: 13px; line-height: 26px; color: #666666;">
{body}
</p>
</td>
diff --git a/src/views/emails/partials/header.tpl b/src/views/emails/partials/header.tpl
index 3f689deb3b..0466c83cfe 100644
--- a/src/views/emails/partials/header.tpl
+++ b/src/views/emails/partials/header.tpl
@@ -139,7 +139,7 @@
}
- [role="presentation"] img {
+ .notification-body img {
max-width: 100%;
}
</style>