File tree Expand file tree Collapse file tree
assets/stylesheets/core/elements Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11@use " ../../vendor/nhsuk-frontend" as * ;
22
33blockquote {
4- border-left : $nhsuk-border-width solid $ nhsuk-border- colour ;
4+ border-left : $nhsuk-border-width solid nhsuk-colour ( " blue " ) ;
55 margin-left : 0 ;
66 padding : nhsuk-spacing (2 );
77 padding-left : nhsuk-spacing (3 );
Original file line number Diff line number Diff line change @@ -233,13 +233,17 @@ export default () => {
233233 html += formatHealthAnswer ( healthAnswer )
234234 }
235235
236- const keyText = parentFacing
236+ let keyText = parentFacing
237237 ? healthQuestions [ key ] . label . replace ( 'the child' , 'your child' )
238- : healthQuestions [ key ] . label
238+ : `<p class="nhsuk-body nhsuk-u-margin-bottom-1">${ healthQuestions [ key ] . label } </p>`
239+
240+ if ( ! parentFacing && healthQuestions [ key ] . hint ) {
241+ keyText += `<p class="nhsuk-hint nhsuk-u-font-size-16">${ healthQuestions [ key ] . hint } </p>`
242+ }
239243
240244 summaryRows . push ( {
241245 classes : undefined ,
242- key : { text : keyText } ,
246+ key : { html : keyText } ,
243247 value : { html } ,
244248 ...( edit && {
245249 actions : {
You can’t perform that action at this time.
0 commit comments