Skip to content

Commit

Permalink
Adjust margin to create equal space around text
Browse files Browse the repository at this point in the history
  • Loading branch information
1pretz1 committed Aug 30, 2023
1 parent bbedb4a commit b1da204
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions app/views/browse/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
} %>
<% end %>

<%= render "shared/browse_header", { margin_bottom: 9 } do %>
<%= render "shared/browse_header", { margin_bottom: page.slug == "benefits" ? 0 : 9 } do %>
<h1 class="browse__heading govuk-heading-xl">
<%= page.title %>
</h1>
Expand All @@ -36,8 +36,7 @@
<div class="govuk-grid-row">
<div class="govuk-grid-column-two-thirds">
<%= render 'govuk_publishing_components/components/inset_text', {
text: t("browse.check_benefits_and_financial_support_html"),
margin_top: 0
text: t("browse.check_benefits_and_financial_support_html")
} %>
</div>
</div>
Expand Down

0 comments on commit b1da204

Please sign in to comment.