Skip to content

Commit

Permalink
Merge pull request #3337 from alphagov/print-styles-no-columns-guides
Browse files Browse the repository at this point in the history
Apply 'no columns' print style to Guide/Detailed Guide
  • Loading branch information
matthillco authored Sep 19, 2024
2 parents b002d46 + ad2aabb commit 894196b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions app/views/content_items/detailed_guide.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<%= render 'shared/email_subscribe_unsubscribe_flash', { title: @content_item.title_and_context[:title] } %>

<div class="govuk-grid-row">
<div class="govuk-grid-row gem-print-columns-none">
<div class="govuk-grid-column-two-thirds">
<%= render 'govuk_publishing_components/components/title', @content_item.title_and_context %>
</div>
Expand All @@ -23,7 +23,7 @@
<% if @content_item.withdrawn? %>
<%= render 'govuk_publishing_components/components/notice', @content_item.withdrawal_notice_component %>
<% end %>
<div class="govuk-grid-row">
<div class="govuk-grid-row gem-print-columns-none">
<div class="govuk-grid-column-two-thirds">
<% if @content_item.national_applicability.present? %>
<%= render "govuk_publishing_components/components/devolved_nations", {
Expand Down
2 changes: 1 addition & 1 deletion app/views/content_items/guide.html+print.erb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<meta name="robots" content="noindex, nofollow">
<% end %>

<div class="govuk-grid-row" id="guide-print">
<div class="govuk-grid-row gem-print-columns-none" id="guide-print">
<div class="govuk-grid-column-two-thirds">
<%= render 'govuk_publishing_components/components/title', {
margin_bottom: 6,
Expand Down
2 changes: 1 addition & 1 deletion app/views/content_items/guide.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<%= render 'shared/intervention_banner' %>

<div class="govuk-grid-row">
<div class="govuk-grid-row gem-print-columns-none">
<div class="govuk-grid-column-two-thirds">
<%= render 'govuk_publishing_components/components/title', { title: @content_item.content_title } %>
Expand Down

0 comments on commit 894196b

Please sign in to comment.