-
Notifications
You must be signed in to change notification settings - Fork 107
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 the padding on main wrapper on mobile #1003
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me.
Must admit, I didn't even know about the nhsuk-main-wrapper--l
and nhsuk-main-wrapper--s
variants. 🤦
I wonder if the change from padding to margin might cause any layout issues? Would be good to check layout in templates which don't have a header (eg things within the app). |
Human error 😮💨 … didn't mean to change them to margin. Changed back, good spot thanks. |
…educe-main-wrapper-padding-on-mobile
Description
Reduces the main wrapper's margin top and bottom on mobile. It currently only changes by 8px, this PR makes it change more between mobile and desktop, from: 40px to 48px, to: 24px to 48px.
Prompted by and related to spacing updates in: #1002
nhsuk-main-wrapper
nhsuk-main-wrapper--l
nhsuk-main-wrapper--s
Checklist