diff --git a/app/assets/stylesheets/email.css.scss b/app/assets/stylesheets/email.css.scss index b9e1286126f..0c13b1ef748 100644 --- a/app/assets/stylesheets/email.css.scss +++ b/app/assets/stylesheets/email.css.scss @@ -32,11 +32,6 @@ line-height: 10px; } -.s16 { - font-size: 16px; - line-height: 24px; -} - .s30 { font-size: 30px; line-height: 30px; diff --git a/app/assets/stylesheets/variables/_email.scss b/app/assets/stylesheets/variables/_email.scss index e0a1aa7b02f..e670dc8a5f7 100644 --- a/app/assets/stylesheets/variables/_email.scss +++ b/app/assets/stylesheets/variables/_email.scss @@ -62,9 +62,9 @@ $global-font-color: $gray; $body-font-family: 'Arial', 'Helvetica', sans-serif; $global-font-weight: normal; $header-color: inherit; -$global-line-height: 1.3; -$global-font-size: 13px; -$body-line-height: 17px; +$global-line-height: 1.5; +$global-font-size: 16px; +$body-line-height: $global-line-height; $header-font-family: $body-font-family; $header-font-weight: $global-font-weight; $h1-font-size: 34px; @@ -77,8 +77,8 @@ $header-margin-bottom: 10px; $paragraph-margin-bottom: 10px; $small-font-size: 80%; $small-font-color: $medium-gray; -$lead-font-size: $global-font-size * 1.25; -$lead-line-height: 1.6; +$lead-font-size: $global-font-size; +$lead-line-height: $global-line-height; $text-padding: 10px; $subheader-lineheight: 1.4; $subheader-color: $dark-gray; diff --git a/app/views/shared/_in-person-verification-results-email-lower.html.erb b/app/views/shared/_in-person-verification-results-email-lower.html.erb index f0fba6f875e..e825899c323 100644 --- a/app/views/shared/_in-person-verification-results-email-lower.html.erb +++ b/app/views/shared/_in-person-verification-results-email-lower.html.erb @@ -29,12 +29,11 @@

<% end %> -
-
+

<%= t( 'user_mailer.in_person_verified.warning_contact_us_html', contact_us_url: MarketingSite.contact_url, sign_in_url: root_url, ) %> -

+

diff --git a/app/views/user_mailer/in_person_failed.html.erb b/app/views/user_mailer/in_person_failed.html.erb index c96af390cce..68ffc9af874 100644 --- a/app/views/user_mailer/in_person_failed.html.erb +++ b/app/views/user_mailer/in_person_failed.html.erb @@ -1,24 +1,22 @@ -
- <%= t('user_mailer.in_person_verified.greeting') %>
-

- <%= t( - 'user_mailer.in_person_failed.intro', - location: @presenter.location_name, - date: @presenter.formatted_verified_date, - ) %> -

-

- <% if @presenter.show_cta? %> - <%= t('user_mailer.in_person_failed.body.with_cta', sp_or_app_name: @presenter.service_provider_or_app_name) %> - <% else %> - <%= t('user_mailer.in_person_failed.body.without_cta', sp_name: @presenter.service_provider.friendly_name) %> - <% end %> -

-

<%= t('user_mailer.in_person_failed.verifying_identity') %>

- -
+<%= t('user_mailer.in_person_verified.greeting') %>
+

+ <%= t( + 'user_mailer.in_person_failed.intro', + location: @presenter.location_name, + date: @presenter.formatted_verified_date, + ) %> +

+

+ <% if @presenter.show_cta? %> + <%= t('user_mailer.in_person_failed.body.with_cta', sp_or_app_name: @presenter.service_provider_or_app_name) %> + <% else %> + <%= t('user_mailer.in_person_failed.body.without_cta', sp_name: @presenter.service_provider.friendly_name) %> + <% end %> +

+

<%= t('user_mailer.in_person_failed.verifying_identity') %>

+ <%= render 'shared/in-person-verification-results-email-lower' %> diff --git a/app/views/user_mailer/in_person_verified.html.erb b/app/views/user_mailer/in_person_verified.html.erb index 01e512bf099..09ccd054435 100644 --- a/app/views/user_mailer/in_person_verified.html.erb +++ b/app/views/user_mailer/in_person_verified.html.erb @@ -6,7 +6,7 @@ class: 'float-center padding-bottom-4', ) %>

<%= message.subject %>

-

+

<%= t('user_mailer.in_person_verified.greeting') %>
<%= t( 'user_mailer.in_person_verified.intro',