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

Improve the spacing and alignment of search filters on mobile #3334

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

matthillco
Copy link
Contributor

@matthillco matthillco commented Apr 23, 2024

What

Improve the spacing and alignment of elements within the search filters component in the mobile view.
Trello card

Why

This component is a bit messy with several elements not lining up and the submit button falls outside the container. With the forthcoming changes to the font sizes, the spacing looks even worse and must be fixed. The improvements will help make this more visually consistent.

How

  • All 16px sizes increased to 19px in line with forthcoming DS changes
  • Extra top padding for first filter item, previously too short
  • Expander icons adjusted for better vertical alignment with text
  • Consistent spacing around second bold results text
  • Facets form now accounts for 2px shadow on the button

BEFORE / AFTER

image

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

Follow these steps if you are doing a Rails upgrade.

* All 16px sizes increased to 19px in line with forthcoming DS changes
* Extra top padding for first filter item, previously too short
* Expander icons adjusted for better vertical alignment with text
* Consistent spacing around second bold results text
* Facets form now accounts for 2px shadow on the button
@matthillco matthillco added dependencies do-not-merge Indicates that a PR should not be merged into master / release branches labels Apr 23, 2024
@govuk-ci govuk-ci temporarily deployed to finder-frontend-pr-3334 April 23, 2024 16:31 Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
do-not-merge Indicates that a PR should not be merged into master / release branches
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants