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

[EuiAvatar] Remove faux border #4255

Merged
merged 6 commits into from
Nov 12, 2020
Merged

[EuiAvatar] Remove faux border #4255

merged 6 commits into from
Nov 12, 2020

Conversation

cchaos
Copy link
Contributor

@cchaos cchaos commented Nov 11, 2020

Amsterdam only

The original idea came about because I saw the usage of someone uploading an SVG as the avatar but the faux border made it look awkard:

Screen Shot 2020-11-11 at 14 56 40 PM

So in Amsterdam, I just completely removed this faux border. It's hardly noticeable when using initials only, just when using an image with a mostly white background.

image

And the Kibana Spaces example:

Screen Shot 2020-11-11 at 14 57 04 PM

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_4255/

Copy link
Contributor

@miukimiu miukimiu left a comment

Choose a reason for hiding this comment

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

I look at the code and tested it in Safari, Chrome, Edge, and Firefox.

LGTM! 🎉

@kibanamachine
Copy link

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

@cchaos cchaos merged commit 625c8e8 into elastic:master Nov 12, 2020
@cchaos cchaos deleted the ams/avatar branch November 12, 2020 16:49
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.

3 participants