Skip to content

Commit

Permalink
Notification banner spacing update (#1209)
Browse files Browse the repository at this point in the history
* Update spacing to be 30px for success banner on my account page

* Update to use id for styling

* Update notification banner styling to be inside default layout
  • Loading branch information
martikat authored May 31, 2024
1 parent 5b08989 commit 5e56b0b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions app/assets/stylesheets/application.scss
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,9 @@ Default layout
*/

#default-layout {
// noop
.govuk-notification-banner {
margin-bottom: govuk-spacing(8);
}
}

/*
Expand All @@ -80,7 +82,7 @@ Hero layout
#hero-layout {
.govuk-notification-banner {
margin-top: govuk-spacing(6);
margin-bottom: govuk-spacing(-4);
margin-bottom: govuk-spacing(-4); // This is negative as banner sits within hero section
}

#assessment-results .govuk-notification-banner {
Expand Down

0 comments on commit 5e56b0b

Please sign in to comment.