diff --git a/app/views/content_items/_publication_inline_body.html.erb b/app/views/content_items/_publication_inline_body.html.erb index 768489455..a6072376b 100644 --- a/app/views/content_items/_publication_inline_body.html.erb +++ b/app/views/content_items/_publication_inline_body.html.erb @@ -1,6 +1,7 @@ <%= render 'govuk_publishing_components/components/heading', text: t("publication.documents", count: 5), # This should always be pluralised. - id: "documents-title" %> + id: "documents-title", + mobile_top_margin: true %>
<%= render 'govuk_component/govspeak', @@ -8,7 +9,10 @@ direction: page_text_direction %>
-<%= render 'govuk_publishing_components/components/heading', text: t("publication.details"), id: "details-title" %> +<%= render 'govuk_publishing_components/components/heading', + text: t("publication.details"), + id: "details-title", + mobile_top_margin: true %>
<%= render 'govuk_component/govspeak', diff --git a/app/views/content_items/consultation.html.erb b/app/views/content_items/consultation.html.erb index 8a872fc0a..29c5b7c5d 100644 --- a/app/views/content_items/consultation.html.erb +++ b/app/views/content_items/consultation.html.erb @@ -31,7 +31,7 @@ <%= render 'components/notice', title: 'This consultation has concluded' %> <% if @content_item.final_outcome_documents? %> - <%= render 'govuk_publishing_components/components/heading', text: "Download the full outcome" %> + <%= render 'govuk_publishing_components/components/heading', text: "Download the full outcome", mobile_top_margin: true %>
<%= render 'govuk_component/govspeak', content: @content_item.final_outcome_documents, @@ -39,7 +39,7 @@
<% end %> - <%= render 'govuk_publishing_components/components/heading', text: "Detail of outcome" %> + <%= render 'govuk_publishing_components/components/heading', text: "Detail of outcome", mobile_top_margin: true %>
<%= render 'govuk_component/govspeak', content: @content_item.final_outcome_detail, @@ -48,7 +48,7 @@ <% end %> <% if @content_item.public_feedback_documents? %> - <%= render 'govuk_publishing_components/components/heading', text: "Feedback received" %> + <%= render 'govuk_publishing_components/components/heading', text: "Feedback received", mobile_top_margin: true %>
<%= render 'govuk_component/govspeak', content: @content_item.public_feedback_documents, @@ -57,7 +57,7 @@ <% end %> <% if @content_item.public_feedback_detail %> - <%= render 'govuk_publishing_components/components/heading', text: "Detail of feedback received" %> + <%= render 'govuk_publishing_components/components/heading', text: "Detail of feedback received", mobile_top_margin: true %>
<%= render 'govuk_component/govspeak', content: @content_item.public_feedback_detail, @@ -68,7 +68,7 @@ <% if @content_item.final_outcome? %>
- <%= render 'govuk_publishing_components/components/heading', text: "Original consultation", id: "original-consultation-title", heading_level: 2 %> + <%= render 'govuk_publishing_components/components/heading', text: "Original consultation", id: "original-consultation-title", heading_level: 2, mobile_top_margin: true %>
<% end %> @@ -102,11 +102,11 @@
- <%= render 'govuk_publishing_components/components/heading', text: "Consultation description" %> + <%= render 'govuk_publishing_components/components/heading', text: "Consultation description", mobile_top_margin: true %> <%= render 'govuk_component/govspeak', @content_item.govspeak_body %> <% if @content_item.documents? %> - <%= render 'govuk_publishing_components/components/heading', text: "Documents" %> + <%= render 'govuk_publishing_components/components/heading', text: "Documents", mobile_top_margin: true %>
<%= render 'govuk_component/govspeak', content: @content_item.documents, @@ -117,7 +117,7 @@ <% if @content_item.ways_to_respond? %>
- <%= render 'govuk_publishing_components/components/heading', text: "Ways to respond" %> + <%= render 'govuk_publishing_components/components/heading', text: "Ways to respond", mobile_top_margin: true %> <% @ways_to_respond_body = capture do %> <% if @content_item.respond_online_url %>