diff --git a/app/assets/stylesheets/dashboard.scss b/app/assets/stylesheets/dashboard.scss index 771b7eed7..3f5c92692 100644 --- a/app/assets/stylesheets/dashboard.scss +++ b/app/assets/stylesheets/dashboard.scss @@ -429,7 +429,7 @@ .mail-header { background: $pdf-primary; color: #fff; - padding: $line-height; + padding: $line-height * 2; h1 { font-size: rem-calc(60); @@ -442,19 +442,20 @@ .margin-bottom { img { - box-shadow: -16px 61px 49px -19px rgba(0,0,0,0.1); - width: 100% + box-shadow: -16px 61px 49px -19px rgba(0, 0, 0, 0.1); + width: 100%; } } .mail-body { - text-align: justify; color: $text-medium; + padding: $line-height * 2; + text-align: left; .button { background: #064c86; - box-shadow: -4px 18px 45px -19px rgba(0,0,0,0.75); - margin-bottom: $line-height; + box-shadow: -4px 18px 45px -19px rgba(0, 0, 0, 0.75); + margin-bottom: $line-height * 2; margin-top: $line-height; } @@ -462,6 +463,11 @@ margin-top: $line-height; max-width: rem-calc(120); } + + p { + font-size: rem-calc(24); + line-height: rem-calc(30); + } } } @@ -473,6 +479,7 @@ .poster-header { background: $pdf-primary; color: #fff; + h1 { color: #fff; text-align: left; @@ -489,7 +496,7 @@ position: absolute; } - .overflow-image{ + .overflow-image { background-position: center; background-size: cover; background-repeat: no-repeat; @@ -533,7 +540,7 @@ .poster-header { height: rem-calc(600); - padding: $line-height * 2 $line-height $line-height * 2; + padding: $line-height * 2 $line-height; h1 { font-size: rem-calc(60); diff --git a/app/views/dashboard/mailer/forward.html.erb b/app/views/dashboard/mailer/forward.html.erb index 685332e40..108a121a0 100644 --- a/app/views/dashboard/mailer/forward.html.erb +++ b/app/views/dashboard/mailer/forward.html.erb @@ -4,8 +4,8 @@ - @@ -18,9 +18,9 @@ <%= image_tag "default_mailing.jpg", style: "width: 100%; box-shadow: -16px 61px 49px -19px rgba(0,0,0,0.1);" %> <% end %> -

<%= t("dashboard.mailer.forward.hi")%>

-

<%= t("dashboard.mailer.forward.introduction", org: setting['org_name']) %>

-

<%= t("dashboard.mailer.forward.support") %>

+

<%= t("dashboard.mailer.forward.hi")%>

+

<%= t("dashboard.mailer.forward.introduction", org: setting['org_name']) %>

+

<%= t("dashboard.mailer.forward.support") %>

-

"<%= @proposal.title %>"

+
+

"<%= @proposal.title %>"

<%= t("dashboard.mailer.forward.subtitle").html_safe %>

@@ -40,13 +40,13 @@
-

<%= t("dashboard.mailer.forward.share") %>

+

<%= t("dashboard.mailer.forward.share") %>

diff --git a/app/views/dashboard/mailing/index.html.erb b/app/views/dashboard/mailing/index.html.erb index bd8ff737b..417425d39 100644 --- a/app/views/dashboard/mailing/index.html.erb +++ b/app/views/dashboard/mailing/index.html.erb @@ -1,6 +1,6 @@ <% content_for :action_title, t("dashboard.mailing.index.title") %>
-
+

"<%= proposal.title %>"

<%= t("dashboard.mailer.forward.subtitle").html_safe %>

@@ -24,7 +24,9 @@ proposal_url(@proposal), class: "button large" %>
- <%= t("dashboard.mailer.forward.share") %> +

+ <%= t("dashboard.mailer.forward.share") %> +

<%= t("dashboard.mailer.forward.share_in") %>

-

<%= t("dashboard.mailer.forward.share_in") %>

+

<%= t("dashboard.mailer.forward.share_in") %>