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

[EuiFormControlLayout] Use smaller icons when in compressed size #4374

Merged
merged 9 commits into from
Dec 17, 2020

Conversation

andreadelrio
Copy link
Contributor

@andreadelrio andreadelrio commented Dec 10, 2020

Summary

This PR reduces the size of the icon and clear button in EuiFormControlLayout when using the compressed version.

Screen Shot 2020-12-16 at 16 29 54 PM

Screen Shot 2020-12-16 at 16 29 12 PM

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.

Screen Shot 2020-12-16 at 13 44 09 PM

This PR also currently ignores the custom implementation of the file picker.

Checklist

  • Check against all themes for compatibility in both light and dark modes
  • Checked in mobile
  • Checked in Chrome, Safari, Edge, and Firefox
    - [ ] 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
  • A changelog entry exists and is marked appropriately

@kibanamachine
Copy link

Preview documentation changes for this PR: https://eui.elastic.co/pr_4374/

@cchaos
Copy link
Contributor

cchaos commented Dec 10, 2020

I'm slightly confused by your screenshot because the heights of both inputs are the same 😕 . Is this just a faked screenshot?

@andreadelrio andreadelrio requested a review from cchaos December 10, 2020 21:46
@kibanamachine
Copy link

Preview documentation changes for this PR: https://eui.elastic.co/pr_4374/

@cchaos cchaos self-assigned this Dec 16, 2020
@kibanamachine
Copy link

Preview documentation changes for this PR: https://eui.elastic.co/pr_4374/

@cchaos cchaos requested review from snide and chandlerprall and removed request for cchaos December 16, 2020 21:48
@kibanamachine
Copy link

Preview documentation changes for this PR: https://eui.elastic.co/pr_4374/

Copy link
Contributor

@snide snide left a 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.

@cchaos cchaos merged commit 4976217 into elastic:master Dec 17, 2020
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