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

UX-717 Adds new z-index token, Fix textfield z-indexing with error outlines #1042

Merged
merged 3 commits into from
Dec 17, 2021

Conversation

jonambas
Copy link
Contributor

What Changed

  • Fixes the right border of the textfield with right-connected components

How To Test or Verify

Screen Shot 2021-12-16 at 8 53 30 AM

Screen Shot 2021-12-16 at 8 53 38 AM

PR Checklist

  • Add the correct type label
  • Pull request approval from #uxfe or #design-guild

Copy link
Contributor

@logansparlin logansparlin left a comment

Choose a reason for hiding this comment

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

Looks good! Just one small comment

&:focus-within {
position: relative;
z-index: ${tokens.zIndex_default};
z-index: ${tokens.zIndex_default + 2};
Copy link
Contributor

Choose a reason for hiding this comment

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

This works but seems a little odd, maybe we need to consider a new zIndex token?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

would above work? with a value of 10 just to be safe?

Copy link
Contributor

Choose a reason for hiding this comment

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

Yea let's do that

@jonambas jonambas changed the title UX-717 Fix textfield z-indexing with error outlines UX-717 Adds new z-index token, Fix textfield z-indexing with error outlines Dec 17, 2021
@jonambas jonambas merged commit 37f3287 into main Dec 17, 2021
@jonambas jonambas deleted the UX-717 branch December 17, 2021 13:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants