Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reduce error summary bottom margin #973

Merged
merged 7 commits into from
Jul 24, 2024
Merged

Conversation

edwardhorsford
Copy link
Contributor

@edwardhorsford edwardhorsford commented Jun 20, 2024

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

  • CHANGELOG entry

anandamaryon1
anandamaryon1 previously approved these changes Jul 22, 2024
@anandamaryon1 anandamaryon1 merged commit bb1ee87 into main Jul 24, 2024
2 checks passed
@anandamaryon1 anandamaryon1 deleted the adjust-error-summary-margin branch July 24, 2024 09:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants