Skip to content

Commit

Permalink
Merge pull request #4623 from alphagov/update-homepage-header-spacing
Browse files Browse the repository at this point in the history
Fix spacing in homepage header
  • Loading branch information
MartinJJones authored Feb 7, 2025
2 parents d4bee55 + ed6aaff commit 2e9db68
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 2 additions & 1 deletion app/assets/stylesheets/views/_homepage_header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,13 @@ $pale-blue-colour: #d2e2f1;
font-size: 40px;
font-size: govuk-px-to-rem(40);
line-height: 1.2;
padding-bottom: govuk-spacing(3);
margin: 0;
margin-bottom: govuk-spacing(6);

@include govuk-media-query($from: tablet) {
font-size: 50px;
font-size: govuk-px-to-rem(50);
margin-bottom: govuk-spacing(7);
}

@include govuk-media-query($from: desktop) {
Expand Down
1 change: 0 additions & 1 deletion app/views/homepage/_homepage_header.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
label_text: t("homepage.index.search_label"),
homepage: true,
on_govuk_blue: true,
margin_top: 5,
disable_corrections: true,
source_url: [Frontend.govuk_website_root, "/api/search/autocomplete.json"].join,
source_key: "suggestions",
Expand Down

0 comments on commit 2e9db68

Please sign in to comment.