feat: Update styles, Add support for Arabic text in emails (#1088)

Co-authored-by: Pranav Raj S <pranav@thoughtwoot.com>
This commit is contained in:
WevrLabs 2020-08-23 16:28:19 +02:00 committed by GitHub
parent d605619eba
commit fe1259a29f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -9,7 +9,7 @@
</td>
</tr>
<tr>
<td style="padding-bottom: 16px;">
<td style="padding: 10px 20px; margin: 5px 0 20px 0; background: #F2F3F7; border-radius: 10px; display: inline-block; font-family: "Helvetica Neue",Tahoma,Arial,sans-serif; text-align: start; unicode-bidi: plaintext;">
<% if message.content %>
<%= message.content %>
<% end %>

View file

@ -1,5 +1,5 @@
<% @messages.each do |message| %>
<p>
<p style="font-family: Roboto,"Helvetica Neue",Tahoma,Arial,sans-serif; text-align: start; unicode-bidi: plaintext;">
<% if message.content %>
<%= message.content.gsub("\n", "<br/>").html_safe %>
<% end %>