From 9253e1878be1cb00b5213c0c17148d0b91fd8dd2 Mon Sep 17 00:00:00 2001 From: George Goodall Date: Fri, 1 Dec 2023 14:38:47 +0000 Subject: [PATCH] wrap error messages --- src/assets/scss/index.scss | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/assets/scss/index.scss b/src/assets/scss/index.scss index 3913d158..1b5b7cb6 100644 --- a/src/assets/scss/index.scss +++ b/src/assets/scss/index.scss @@ -8,6 +8,7 @@ $govuk-global-styles: true; border-left: 5px solid govuk-colour('red'); padding: govuk-spacing(1) govuk-spacing(2); margin: 0; + width: 500px; .app-inset-text__value { margin-bottom: govuk-spacing(1); @@ -16,6 +17,8 @@ $govuk-global-styles: true; .app-inset-text__error { color: govuk-colour('red'); font-weight: bold; + white-space: normal; + min-width: fit-content; }