Skip to content

Commit

Permalink
Fix right aligned header cells to account for new popover anchor
Browse files Browse the repository at this point in the history
- this is actually cleaner CSS anyway, win/win!
  • Loading branch information
cee-chen committed Nov 22, 2023
1 parent e1c802c commit 6dad054
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions src/components/datagrid/body/header/_data_grid_header_row.scss
Original file line number Diff line number Diff line change
Expand Up @@ -73,14 +73,9 @@
// Align numeric and currency schemas to the right
&.euiDataGridHeaderCell--numeric,
&.euiDataGridHeaderCell--currency {
justify-content: flex-end; // Accounts for columns with disabled actions (no popover)

.euiDataGridHeaderCell__button {
justify-content: flex-end; // Accounts for cells with a popover
}

.euiDataGridHeaderCell__icon {
margin-left: 0;
.euiDataGridHeaderCell__content {
flex-grow: 1;
text-align: right;
}
}
}
Expand Down

0 comments on commit 6dad054

Please sign in to comment.