Skip to content

Commit 2a3a12d

Browse files
committed
Amend h1 font-size in manuals to l
1 parent 0f29ccc commit 2a3a12d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/views/content_items/manuals/_manual_section_layout.html.erb

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<div class="govuk-grid-column-full">
1515
<%= render "govuk_publishing_components/components/heading", {
1616
text: @content_item.document_heading.join(" - "),
17-
font_size: "m",
17+
font_size: "l",
1818
id: "section-title",
1919
heading_level: 1,
2020
margin_bottom: 4,

test/integration/manual_section_test.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ class ManualSectionTest < ActionDispatch::IntegrationTest
5050
test "renders document heading" do
5151
setup_and_visit_manual_section
5252

53-
within ".govuk-heading-l" do
53+
within "#manual-title.govuk-heading-l" do
5454
assert page.has_text?(@manual["title"])
5555
end
5656
end

0 commit comments

Comments
 (0)