Skip to content

Commit

Permalink
Update based on PR comments
Browse files Browse the repository at this point in the history
  • Loading branch information
martikat committed Apr 26, 2024
1 parent ad1002a commit 33bd6a2
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
1 change: 1 addition & 0 deletions app/assets/stylesheets/hfeyp-v2.scss
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ a:hover .hf-card-container .hf-card-details h3 {
.mob-section {
background: #f1f2f350;
margin-top: -20px;
margin-bottom: 20px;
padding: 20px 15px 0px;
border-bottom: 1px solid #ccc;
}
Expand Down
10 changes: 7 additions & 3 deletions app/views/layouts/application.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,15 @@ html.govuk-template lang='en'

= navigation

.dfe-content-page--header class='govuk-!-padding-bottom-7'
.dfe-width-container
- if page.nil?
.dfe-width-container
= render 'layouts/banner'

= yield :hero
- else
.dfe-content-page--header class='govuk-!-padding-bottom-7'
.dfe-width-container
= render 'layouts/banner'
= yield :hero

.dfe-width-container
main#main-content.govuk-main-wrapper role='main'
Expand Down
2 changes: 1 addition & 1 deletion app/views/pages/side_nav.slim
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
= render partial: 'hero', locals: { hero: page.hero }

.govuk-grid-row
.govuk-grid-column-one-quarter.sticky.mob-section class='govuk-!-margin-bottom-4'
.govuk-grid-column-one-quarter.sticky.mob-section
input#menu-icon-chk.menu-btn[type="checkbox" name="menu-icon" checked]
label.menu-icon.govuk-body-l[for="menu-icon-chk"]
svg[xmlns="http://www.w3.org/2000/svg" height="1em" viewbox="0 0 448 512"]
Expand Down

0 comments on commit 33bd6a2

Please sign in to comment.