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

Increase spacing on mobile for homepage #3801

Merged
merged 1 commit into from
Oct 13, 2023

Conversation

MartinJJones
Copy link
Contributor

@MartinJJones MartinJJones commented Oct 12, 2023

What

Increase the spacing on the left and right from 15px to 24px for mobile devices for the new homepage design.

Why

For the new homepage design, the total space on the left and right of the content should be 24px for mobile.

Trello card

Visual Changes

Before - Mobile

homepage-mobile-before

After - Mobile

homepage-mobile-after

⚠️ This repo is Continuously Deployed: make sure you follow the guidance ⚠️

@govuk-ci govuk-ci temporarily deployed to govuk-frontend-app-pr-3801 October 12, 2023 09:06 Inactive
@MartinJJones MartinJJones marked this pull request as ready for review October 13, 2023 08:21
For the new homepage design, the total space on the left and right of the content should be `24px` for mobile, by adding 9px of padding to the required sections, we get a total of 24px (9px padding + 15px margin)
@MartinJJones MartinJJones force-pushed the increase-spacing-mobile-new-homepage branch from bc071b5 to edd4439 Compare October 13, 2023 08:55
@govuk-ci govuk-ci temporarily deployed to govuk-frontend-app-pr-3801 October 13, 2023 08:55 Inactive
@patrickpatrickpatrick
Copy link
Contributor

An intermediary step that's required for now but an elegant solution. Thanks Martin.

@MartinJJones MartinJJones merged commit cbce3bd into main Oct 13, 2023
7 checks passed
@MartinJJones MartinJJones deleted the increase-spacing-mobile-new-homepage branch October 13, 2023 09:44
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