Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Emotion] Convert EuiDataGrid toolbar control styles to Emotion (Part 2) #7997

Merged
merged 11 commits into from
Sep 5, 2024
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,15 @@ export const euiDataGridToolbarStyles = ({ euiTheme }: UseEuiTheme) => {
gap: ${euiTheme.size.base};
${logicalCSS('padding-vertical', euiTheme.size.xs)}
background-color: ${euiTheme.colors.emptyShade};

.euiDataGrid--bordersHorizontal & {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❓ Do we need a TODO comment for keeping track of this to be reverted?

Copy link
Member Author

@cee-chen cee-chen Sep 5, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll be able to keep mental track of it! I'm not super worried either way, as the code works as-is, so even if I get hit by a bus tomorrow or we go with another direction for EuiDataGrid's Emotion conversion, this is fine to leave in the codebase.

${logicalCSS('border-bottom', euiTheme.border.thin)}
}

.euiDataGrid--bordersAll & {
border: ${euiTheme.border.thin};
background-color: ${euiTheme.colors.body};
}
`,
euiDataGrid__rightControls: css`
display: flex;
Expand Down