Skip to content

Commit

Permalink
[DataGrid] vertically center toolbar items
Browse files Browse the repository at this point in the history
  • Loading branch information
janmonschke committed Oct 18, 2024
1 parent 4259443 commit cb09b19
Showing 1 changed file with 2 additions and 0 deletions.
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 cb09b19

Please sign in to comment.