From 8576b4a6f07ba3d3f965cfd75975e3546fcc9e2d Mon Sep 17 00:00:00 2001 From: Chris Hill-Scott Date: Thu, 4 Nov 2021 12:01:08 +0000 Subject: [PATCH] Fix spacing on send one-off SMS MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Previous the text input on the send one off SMS page was wrapped in an element with a class of `form-group`. We overrode the spacing on this element to make the links under the textbox move closer to the textbox, so that visually they group together. This was broken when we moved to GOV.UK frontend, which uses a class of `govuk-form-group`. This commit changes the CSS to account for both possibilities, because the send-a-one-off-letter page is still using a textbox, not a text input, and textboxes haven’t moved to GOV.UK Frontend yet. --- app/assets/stylesheets/views/send.scss | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/assets/stylesheets/views/send.scss b/app/assets/stylesheets/views/send.scss index d58da1dae..417c2480c 100644 --- a/app/assets/stylesheets/views/send.scss +++ b/app/assets/stylesheets/views/send.scss @@ -1,6 +1,7 @@ .send-one-off-form { - .form-group { + .form-group, + .govuk-form-group { margin-bottom: 20px; }