Skip to content

[EuiBasicTable] Remove bottom border of table header cell#5914

Merged
cchaos merged 3 commits intoelastic:mainfrom
cchaos:table/fix-loading-style
May 20, 2022
Merged

[EuiBasicTable] Remove bottom border of table header cell#5914
cchaos merged 3 commits intoelastic:mainfrom
cchaos:table/fix-loading-style

Conversation

@cchaos
Copy link
Copy Markdown
Contributor

@cchaos cchaos commented May 20, 2022

Fixes #4283

Removes the bottom border of table headers so that it doesn't compete with the top border of cells. Everything should render exactly as it did, but now the loading state is properly aligned.

CleanShot.2022-05-20.at.14.39.17.mp4

EuiInMemoryTable

image

EuiBasicTable

image

Empty state

image

Checklist

  • [ ] Checked 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 any docs examples
  • [ ] Added or updated jest and cypress tests
  • [ ] Checked for breaking changes and labeled appropriately
  • [ ] Checked for accessibility including keyboard-only and screenreader modes
  • [ ] Updated the Figma library counterpart
  • A changelog entry exists and is marked appropriately

@kibanamachine
Copy link
Copy Markdown

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

1 similar comment
@kibanamachine
Copy link
Copy Markdown

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

@kibanamachine
Copy link
Copy Markdown

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

Copy link
Copy Markdown
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.

Nice catch and fix! Looks good to me on staging

@cchaos cchaos merged commit 566006a into elastic:main May 20, 2022
@cchaos cchaos deleted the table/fix-loading-style branch May 20, 2022 19:39
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.

[EuiBasicTable] Loading state causes layout shift

3 participants