Skip to content

Commit

Permalink
Amend h1 font-size in manuals to l
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeSonia committed Feb 8, 2024
1 parent d627430 commit 792718f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<div class="govuk-grid-column-full">
<%= render "govuk_publishing_components/components/heading", {
text: @content_item.document_heading.join(" - "),
font_size: "m",
font_size: "l",
id: "section-title",
heading_level: 1,
margin_bottom: 4,
Expand Down
2 changes: 1 addition & 1 deletion test/integration/manual_section_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class ManualSectionTest < ActionDispatch::IntegrationTest
test "renders document heading" do
setup_and_visit_manual_section

within ".govuk-heading-l" do
within "#manual-title.govuk-heading-l" do
assert page.has_text?(@manual["title"])
end
end
Expand Down

0 comments on commit 792718f

Please sign in to comment.