Skip to content

Commit

Permalink
[EuiDataGrid] Fix header actions button causing cell height changes (#…
Browse files Browse the repository at this point in the history
…7999)

Co-authored-by: Cee Chen <549407+cee-chen@users.noreply.github.com>
  • Loading branch information
mgadewoll and cee-chen authored Sep 4, 2024
1 parent 7d83058 commit cd89ebd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/eui/changelogs/upcoming/7999.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
**Bug fixes**

- Fixed a visual bug in compact density `EuiDataGrid`s, where the header cell height would increase when the actions button became visible

Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,8 @@
.euiPopover-isOpen {
.euiDataGridHeaderCell__button {
padding: $euiSizeXS;
// balance out additional button target size in header height, prevents increased header cell height
margin-block: -$euiSizeXS;
}

.euiDataGridHeaderCell__icon {
Expand Down

0 comments on commit cd89ebd

Please sign in to comment.