Skip to content

Commit

Permalink
Replace title component with heading and match visual style
Browse files Browse the repository at this point in the history
  • Loading branch information
matthillco committed Jan 23, 2025
1 parent ea7fc8e commit 87d1e68
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions app/views/layouts/application.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,16 @@
breadcrumbs: @breadcrumbs,
collapse_on_mobile: true
} %>
<main id="content" role="main">
<main id="content" role="main" class="govuk-main-wrapper--l">
<div class="govuk-grid-row">
<div class="govuk-grid-column-two-thirds">
<%= yield(:error_summary) %>
<%= render 'govuk_publishing_components/components/title', title: yield(:title) %>
<%= render "govuk_publishing_components/components/heading", {
text: yield(:title),
heading_level: 1,
font_size: "xl",
margin_bottom: 8
} %>
<%= yield %>
</div>
</div>
Expand Down

0 comments on commit 87d1e68

Please sign in to comment.