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

[Bug]: Table batch actions styling is broken #14312

Closed
2 tasks done
huygur opened this issue Jul 26, 2023 · 0 comments · Fixed by #14384
Closed
2 tasks done

[Bug]: Table batch actions styling is broken #14312

huygur opened this issue Jul 26, 2023 · 0 comments · Fixed by #14384

Comments

@huygur
Copy link

huygur commented Jul 26, 2023

Package

@carbon/react, @carbon/elements

Browser

Chrome, Safari, Firefox, Edge

Package version

"@carbon/elements": "11.26.0", "@carbon/react": "1.34.0",

React version

v18.2.0

Description

The TableBatchActions inside TableToolbar are misaligned for size variant 'sm'.
Here you can see the issue reproduced in the Storybook: https://react.carbondesignsystem.com/?path=/story/components-datatable-batch-actions--playground&args=size:sm
The buttons on the right side are not centrally aligned:
Screenshot 2023-07-26 at 16 30 04

Last time this was working fine for our project, we were using the following versions:

"@carbon/elements": "11.24.0",
"@carbon/react": "1.27.0",

Reproduction/example

https://react.carbondesignsystem.com/?path=/story/components-datatable-batch-actions--playground&args=size:sm

Steps to reproduce

  • Use DataTable component with TableToolbar
  • Set TableToolbar size attribute to "sm"

Suggested Severity

None

Application/PAL

No response

Code of Conduct

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant