From d989b9d8424c7030ba5b46d25a4275b886970ce1 Mon Sep 17 00:00:00 2001 From: Lucas Hiago Date: Sun, 26 Apr 2020 07:33:16 -0300 Subject: [PATCH] Add style for images on email to turn them responsiveness (#7247) * Change property for max-width to turn more responsive * Change css property for images to turn more responsive in mention email --- .../mailers/notify_mailer/new_mention_email.html.erb | 10 ++++++++++ .../mailers/notify_mailer/new_reply_email.html.erb | 10 ++++++++++ 2 files changed, 20 insertions(+) diff --git a/app/views/mailers/notify_mailer/new_mention_email.html.erb b/app/views/mailers/notify_mailer/new_mention_email.html.erb index 089b06420..c42c9a74d 100644 --- a/app/views/mailers/notify_mailer/new_mention_email.html.erb +++ b/app/views/mailers/notify_mailer/new_mention_email.html.erb @@ -1,3 +1,13 @@ + + + +

<%= @mentioner.name %> just mentioned you in their <%= @mention.mentionable_type.downcase %>!

diff --git a/app/views/mailers/notify_mailer/new_reply_email.html.erb b/app/views/mailers/notify_mailer/new_reply_email.html.erb index 2e89ceaeb..80e1a53f8 100644 --- a/app/views/mailers/notify_mailer/new_reply_email.html.erb +++ b/app/views/mailers/notify_mailer/new_reply_email.html.erb @@ -1,3 +1,13 @@ + + + +

<%= link_to(@comment.user.name, "#{user_url(@comment.user)}/#{}") %> replied to you on <%= community_name %>