Skip to content

Commit

Permalink
ER-892 Assessment Results Banner styling update (#1011)
Browse files Browse the repository at this point in the history
* Update margin bottom for assessment result banner

* Update to ensure only assessment banner styling is updated

* Update margin bottom for assessment results banner following PR comment

* Update to where styling is applied for assessment results banner
  • Loading branch information
martikat authored Jan 5, 2024
1 parent 399f3fa commit 4af564b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 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,8 +69,6 @@ Default layout
// noop
}



/*
Hero layout
-----------------------------------------------
Expand All @@ -82,6 +80,10 @@ Hero layout
margin-bottom: govuk-spacing(-4);
}

#assessment-results .govuk-notification-banner {
margin-bottom: govuk-spacing(8);
}

@include govuk-media-query($until: tablet) {
.govuk-grid-column-one-half > p,
.govuk-grid-column-one-half > h2 {
Expand Down
2 changes: 1 addition & 1 deletion app/views/training/assessments/show.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
| Class: #{ENV['DISABLE_USER_ANSWER'].present? ? 'Response' : 'UserAnswer'}

.govuk-grid-row
.govuk-grid-column-full
#assessment-results.govuk-grid-column-full
h1.govuk-heading-l
= t('.heading')

Expand Down

0 comments on commit 4af564b

Please sign in to comment.