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 for select element while zoomed #2312

Merged
merged 1 commit into from
Nov 24, 2020
Merged

Conversation

chris-gds
Copy link

What?

While zoomed-in-via-text-only on Firefox the text within the select box cut is off while viewing at 200%.
(This is in-part due to positioning elements being pixel based not relative)

Why

Ticket and can be seen on live

I've noticed this PR from 08/19 implemented the CSS fix and this PR builds on this. I'm aware this introduces a gem-c-select class without the use of the actual gem for this element which is tech debt. However I'm also mindful this might be resolved within this Design System audit update ticket so as a temp solution this could be desirable - this PR could prompt a wider discussion.

Visuals

Before

Screenshot 2020-11-24 at 10 29 35

After

Screenshot 2020-11-24 at 10 29 25

⚠️ This application is Continuously Deployed: ⚠️

  • Merged changes are automatically deployed to staging and production.

  • Make sure you follow the guidance for deployments before you merge.

  • Check your branch is being deployed in the Release app, after merging.

Text in select box cut off while viewing at 200% text-only on Firefox.
@bevanloon bevanloon temporarily deployed to finder-front-fix-text-z-ivt18m November 24, 2020 10:44 Inactive
Copy link
Contributor

@andysellick andysellick left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice fix.

@maxgds maxgds merged commit dab43b6 into master Nov 24, 2020
@maxgds maxgds deleted the fix-text-zoom-only-select branch November 24, 2020 12:00
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.

4 participants