-
Notifications
You must be signed in to change notification settings - Fork 841
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
[EuiFormControlLayout] Use smaller icons when in compressed size #4374
Conversation
Preview documentation changes for this PR: https://eui.elastic.co/pr_4374/ |
I'm slightly confused by your screenshot because the heights of both inputs are the same 😕 . Is this just a faked screenshot? |
Preview documentation changes for this PR: https://eui.elastic.co/pr_4374/ |
Preview documentation changes for this PR: https://eui.elastic.co/pr_4374/ |
Preview documentation changes for this PR: https://eui.elastic.co/pr_4374/ |
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.
Did a code scan and pulled down locally. LGTM.
Summary
This PR reduces the size of the icon and clear button in
EuiFormControlLayout
when using thecompressed
version.It was intentional to leave the loading icon larger (for now) because the small size was too small and not equivelant to the small size of icons.
This PR also currently ignores the custom implementation of the file picker.
Checklist
- [ ] Props have proper autodocs- [ ] Added documentation- [ ] Checked Code Sandbox works for the any docs examples- [ ] Added or updated jest tests- [ ] Checked for breaking changes and labeled appropriately- [ ] Checked for accessibility including keyboard-only and screenreader modes