Add style

- Inverted h2 with h3
- Add strong tag
This commit is contained in:
Alessandro Cuoghi
2019-02-04 16:01:45 +01:00
parent 980f0d4283
commit af71ef0c35
4 changed files with 5 additions and 4 deletions

View File

@@ -87,6 +87,7 @@
.action-content {
display: inline-block;
margin-left: $line-height / 4;
max-width: 90%;
h4,
p {

View File

@@ -1,4 +1,4 @@
<h2 class="title"><%= t("dashboard.recommended_actions.#{status}_title") %></h2>
<h3 class="title"><%= t("dashboard.recommended_actions.#{status}_title") %></h3>
<% if actions.any? %>
<div id="proposed_actions_<%= status %>">
<% actions.first(4).each do |proposed_action| %>
@@ -23,8 +23,8 @@
<div id="last_proposed_actions_<%= status %>" class="hide" data-toggler=".hide">
<%= render partial: 'proposed_action', collection: actions - actions.first(4) %>
<div class="margin small">
<%= t("dashboard.recommended_actions.hide_proposed_actions") %>
<a data-toggle="last_proposed_actions_<%= status %> proposed_actions_<%= status %>_link">
<strong><%= t("dashboard.recommended_actions.hide_proposed_actions") %></strong>
</a>
</div>
</div>

View File

@@ -1,4 +1,4 @@
<h3 class="title"><%= t("dashboard.recommended_actions.title") %></h3>
<h2 class="title"><%= t("dashboard.recommended_actions.title") %></h2>
<%= render 'recommended_actions_by_status', status: 'pending', actions: @pending_actions, toggle: false %>
<%= render 'recommended_actions_by_status', status: 'done', actions: @done_actions, toggle: false %>

View File

@@ -1,4 +1,4 @@
<h3 class="title"><%= t("dashboard.recommended_actions.title") %></h3>
<h2 class="title"><%= t("dashboard.recommended_actions.title") %></h3>
<%= render 'recommended_actions_by_status', status: 'pending', actions: @pending_actions, toggle: true %>
<%= render 'recommended_actions_by_status', status: 'done', actions: @done_actions, toggle: true %>