diff --git a/app/assets/stylesheets/dashboard.scss b/app/assets/stylesheets/dashboard.scss index 53303f387..2f727d39a 100644 --- a/app/assets/stylesheets/dashboard.scss +++ b/app/assets/stylesheets/dashboard.scss @@ -87,6 +87,7 @@ .action-content { display: inline-block; margin-left: $line-height / 4; + max-width: 90%; h4, p { diff --git a/app/views/dashboard/_recommended_actions_by_status.html.erb b/app/views/dashboard/_recommended_actions_by_status.html.erb index 64f4c93e9..a1a9a5020 100644 --- a/app/views/dashboard/_recommended_actions_by_status.html.erb +++ b/app/views/dashboard/_recommended_actions_by_status.html.erb @@ -1,4 +1,4 @@ -

<%= t("dashboard.recommended_actions.#{status}_title") %>

+

<%= t("dashboard.recommended_actions.#{status}_title") %>

<% if actions.any? %>
<% actions.first(4).each do |proposed_action| %> @@ -23,8 +23,8 @@
<%= render partial: 'proposed_action', collection: actions - actions.first(4) %>
- <%= t("dashboard.recommended_actions.hide_proposed_actions") %> + <%= t("dashboard.recommended_actions.hide_proposed_actions") %>
diff --git a/app/views/dashboard/_summary_recommended_actions.html.erb b/app/views/dashboard/_summary_recommended_actions.html.erb index 2a5428fbe..5df780197 100644 --- a/app/views/dashboard/_summary_recommended_actions.html.erb +++ b/app/views/dashboard/_summary_recommended_actions.html.erb @@ -1,4 +1,4 @@ -

<%= t("dashboard.recommended_actions.title") %>

+

<%= t("dashboard.recommended_actions.title") %>

<%= render 'recommended_actions_by_status', status: 'pending', actions: @pending_actions, toggle: false %> <%= render 'recommended_actions_by_status', status: 'done', actions: @done_actions, toggle: false %> diff --git a/app/views/dashboard/recommended_actions.html.erb b/app/views/dashboard/recommended_actions.html.erb index 47a4215d4..ba75afe10 100644 --- a/app/views/dashboard/recommended_actions.html.erb +++ b/app/views/dashboard/recommended_actions.html.erb @@ -1,4 +1,4 @@ -

<%= t("dashboard.recommended_actions.title") %>

+

<%= t("dashboard.recommended_actions.title") %>

<%= render 'recommended_actions_by_status', status: 'pending', actions: @pending_actions, toggle: true %> <%= render 'recommended_actions_by_status', status: 'done', actions: @done_actions, toggle: true %>