Skip to content

Commit

Permalink
Stop using mobile_top_margin in publications
Browse files Browse the repository at this point in the history
- headings have this unusual behaviour where the mobile top margin is much larger
- this is slightly odd and inconsistent behaviour, so we're removing this option from the heading component and applying custom spacing in these pages instead using existing component options
  • Loading branch information
andysellick committed Dec 20, 2024
1 parent ad86f19 commit 254ddba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/content_items/publication.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
<section id="details">
<%= render "govuk_publishing_components/components/heading", {
text: t("publication.details"),
mobile_top_margin: true,
margin_bottom: 4
} %>

<%= render "govuk_publishing_components/components/govspeak", {
Expand Down

0 comments on commit 254ddba

Please sign in to comment.