Skip to content

Commit

Permalink
[EuiDataGrid] Vertically center toolbar items (#8085)
Browse files Browse the repository at this point in the history
Co-authored-by: Cee Chen <[email protected]>
  • Loading branch information
janmonschke and cee-chen authored Oct 18, 2024
1 parent 93b9b66 commit 86a1f4b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/eui/changelogs/upcoming/8085.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Updated `EuiDataGrid` to vertically center all `toolbarVisibility.additionalControls` nodes
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ export const euiDataGridToolbarStyles = ({ euiTheme }: UseEuiTheme) => {
euiDataGrid__rightControls: css`
display: flex;
justify-content: flex-end;
align-items: center;
flex-wrap: wrap;
column-gap: ${euiTheme.size.s};
${logicalCSS('padding-right', euiTheme.size.xs)}
Expand All @@ -38,6 +39,7 @@ export const euiDataGridToolbarStyles = ({ euiTheme }: UseEuiTheme) => {
euiDataGrid__leftControls: css`
display: flex;
flex-wrap: wrap;
align-items: center;
gap: ${euiTheme.size.xxs};
`,
};
Expand Down

0 comments on commit 86a1f4b

Please sign in to comment.