nhsuk-frontend icon indicating copy to clipboard operation
nhsuk-frontend copied to clipboard

Reduce error summary bottom margin

Open edwardhorsford opened this issue 1 year ago • 0 comments

Description

The current error summary bottom margin seems really large - it uses spacing 8 which produces 56px on desktop and 48px on mobile. I suspect this might not be intentional - govuk uses spacing 8, but their spacing scale is different so they get 30px on mobile and 50px on desktop. This sets us to 32px on mobile and 48px on desktop.

Desktop

Before After
errorSummary-desktop-before errorSummary-desktop-after

Mobile

Before After
errorSummary-mobile-before errorSummary-mobile-after

Checklist

  • [x] CHANGELOG entry

edwardhorsford avatar Jun 20 '24 15:06 edwardhorsford