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

[EuiDataGrid] Fix custom className being passed to the full screen button #5050

Merged

Conversation

elizabetdev
Copy link
Contributor

Summary

As mentioned on #5026, a custom className passed to EuiDataGrid was also being applied to the full screen button. This issue was creating unexpected results for consumers.

For example, the blue background color and padding come from a custom className passed into EuiDataGrid but the button also gets that class.

Screenshot 2021-08-18 at 19 30 31

The fix

datagrid-className@2x

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 and playground toggles
  • [ ] 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

Copy link
Contributor

@cee-chen cee-chen left a comment

Choose a reason for hiding this comment

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

LGTM! Nice catch!

@kibanamachine
Copy link

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

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