-
Notifications
You must be signed in to change notification settings - Fork 93
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(NcInputField): Bring input field height to 44px and fixes its focus feedback #4718
Conversation
Signed-off-by: Marco <[email protected]>
Signed-off-by: Marco <[email protected]>
Signed-off-by: Marco <[email protected]> Fix text inputs focus feedback Signed-off-by: Marco <[email protected]>
34fd070
to
80b1c82
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! Definitely an improvement. Suggestion: for the tags itself, we use a background color instead of more borders:
(also looks a bit off for single select)
When we show buttons and inputs next to each other, the alignment still seems to be an issue. when the field is focused, technically the button and input field are center aligned, but when unfocused it looks like it is a couple of pixels too low. What do you think?
Recording.2023-11-01.141616.mp4
Also, the bottom of the label for the input field gets cut off on focus for some resolutions, and the close button on the right is not centered (dunno if it is related to this PR)
@nimishavijay I tried that but it results in not enough contrast with the user avatars in user selects. |
Hi @marcoambrosini, unfortunately the issue with truncation got worse ;( Could you please use ARCToolkit tool with "Check Text Spacing" function to check the results? |
@nimishavijay this is very bad in talk too. I guess we need to rethink the avatars again. Without even talking about accessibility, this is not acceptable from a visual design standpoint. (The colors have almost exactly the same luminance and it looks like a bug) I'll remove the border here and raise an issue with the avatars |
Signed-off-by: Marco <[email protected]>
80b1c82
to
be2bddc
Compare
Signed-off-by: Marco <[email protected]>
@JuliaKirschenheuter @nimishavijay could you please review again? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agree with @JuliaKirschenheuter :) Let’s merge it as is now and @marcoambrosini go for an improvement pull request.
@JuliaKirschenheuter are you sure that you don't have any CSS interfering with the component there? Screen.Recording.2023-11-08.at.09.59.05.mov |
* bring input field height to 44px and fixes its focus feedback
Screen.Recording.2023-10-31.at.13.00.37.mov
* bring select height down to 44px and improves a bit the looks of the select chips