Skip to content

Commit

Permalink
fix: add Arabic font support and SVG upload
Browse files Browse the repository at this point in the history
  • Loading branch information
BasselArt committed Dec 31, 2024
1 parent d762c41 commit d7cf868
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions views/email/base_email.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,16 @@
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<style>
body {
font-family: 'Arial', sans-serif;
direction: rtl; /* Ensures RTL styling */
text-align: right; /* Aligns text to the right */
}
table {
text-align: right; /* Ensures table text aligns to the right */
}
</style>
</head>
<body bgcolor="#F7F7F7" style="font-size:18px">
<table width="100%" bgcolor="#F7F7F7" cellpadding="0" cellspacing="0" border="0" style="text-align:center;font-size:18px;">
Expand All @@ -24,15 +34,15 @@
{{ end }}
<tr>
<td align="center">
<table bgcolor="#FFFFFF" cellpadding="0" cellspacing="0" border="0" style="text-align:left;padding:20px;margin:10px;border-radius:5px;color:#1c262d;border:1px solid #ECECEC;min-width:320px;max-width:660px;">
<table bgcolor="#FFFFFF" cellpadding="0" cellspacing="0" border="0" style="text-align:left;padding:20px;margin:10px;border-radius:5px;color:#1c262d;border:1px solid #ECECEC;min-width:320px;max-width:660px; direction: rtl;">
{{block "body" .}}{{end}}
</table>
</td>
</tr>
{{ if .noreply }}
<tr>
<td>
<span style="color:#666;font-size:12px">{{ "email.footer.noreply" | translate }}</span>
<span style="color:#666;font-size:12px;direction: rtl;">{{ "email.footer.noreply" | translate }}</span>
</td>
</tr>
{{ end }}
Expand Down

0 comments on commit d7cf868

Please sign in to comment.