Skip to content

Commit

Permalink
Remove blue bar layout and styles
Browse files Browse the repository at this point in the history
Remove blue bar layout and styles from 'landing page'. Used by Plan for Change pages (https://www.gov.uk/missions)
  • Loading branch information
jon-kirwan committed Mar 4, 2025
1 parent 9202812 commit 27bfde2
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 12 deletions.
5 changes: 0 additions & 5 deletions app/assets/stylesheets/views/_landing_page.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,6 @@
@import "_landing_page/helpers/backgrounds";
@import "_landing_page/helpers/borders";

.landing-page-header__blue-bar {
background-color: govuk-colour("blue");
height: govuk-spacing(2);
}

.landing-page-header__org {
padding-top: govuk-spacing(2);
padding-bottom: govuk-spacing(6);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
.landing-page-header {
// I've used the hex value for the background colour as it doesn't exist in the colour palette
background-color: #231F20;
}
// Setting the overflow to auto is required to prevent the breadcrumb
// component's margin from collapsing.
overflow: auto;
}
3 changes: 0 additions & 3 deletions app/views/landing_page/themes/_default.html.erb
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
<% content_for :before_content do %>
<div class="landing-page-header">
<div class="govuk-width-container">
<div class="landing-page-header__blue-bar">
</div>

<div class="govuk-!-margin-bottom-8">
<%= yield :landing_page_breadcrumbs %>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@
<% content_for :before_content do %>
<div class="landing-page-header">
<div class="govuk-width-container">
<div class="landing-page-header__blue-bar">
</div>

<% if @content_item.breadcrumbs.present? %>
<%= render "govuk_publishing_components/components/breadcrumbs", {
collapse_on_mobile: true,
Expand Down

0 comments on commit 27bfde2

Please sign in to comment.