From 2a3a12d5c3a25aeb4f908ce5d13f7e67b51c099d Mon Sep 17 00:00:00 2001 From: Sonia Hussain Date: Thu, 8 Feb 2024 15:09:07 +0000 Subject: [PATCH] Amend h1 font-size in manuals to l --- app/views/content_items/manuals/_manual_section_layout.html.erb | 2 +- test/integration/manual_section_test.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/content_items/manuals/_manual_section_layout.html.erb b/app/views/content_items/manuals/_manual_section_layout.html.erb index a90274d0f..c152f9d71 100644 --- a/app/views/content_items/manuals/_manual_section_layout.html.erb +++ b/app/views/content_items/manuals/_manual_section_layout.html.erb @@ -14,7 +14,7 @@
<%= 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, diff --git a/test/integration/manual_section_test.rb b/test/integration/manual_section_test.rb index 430079d4e..e8db6c50b 100644 --- a/test/integration/manual_section_test.rb +++ b/test/integration/manual_section_test.rb @@ -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