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

Fix search focus padding #896

Merged
merged 1 commit into from
Oct 2, 2023
Merged

Fix search focus padding #896

merged 1 commit into from
Oct 2, 2023

Conversation

tomchatting
Copy link
Contributor

Description

Currently the :focus state of .nhsuk-search__input has its' padding set in a way which displaces the placeholder and text after the element is focused for input:

focus padding at 9px

I've tested this on desktop WebKit (Safari 16.6), mobile WebKit (Safari for iOS17) and Blink (Chrome 117).

This PR changes the padding on the :focus state from 9px to 13px.

focus padding at 13px

Checklist

@roshaanbajwa
Copy link
Contributor

Thanks for the fix Tom, I'll add this to today's release

@roshaanbajwa roshaanbajwa merged commit 03d92f7 into nhsuk:main Oct 2, 2023
2 checks passed
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.

2 participants