-
Notifications
You must be signed in to change notification settings - Fork 154
Description
Package
Carbon for IBM Products
Description
When setting the size of SidePanel to 2xl, the action buttons are unexpectedly stacked vertically. In addition, unnecessary padding appears above the buttons.
Component(s) impacted
Browser
Chrome
@carbon/ibm-products (previously @carbon/ibm-cloud-cognitive) version
v2.79.0
Suggested Severity
Severity 3 = The problem is visible or noticeable to users but does not impede the usability or functionality. Affects minor functionality, has a workaround.
Product/offering
IBM Semiconductors
CodeSandbox or Stackblitz example
https://stackblitz.com/edit/github-ctave8qt?file=src%2FExample%2FExample.jsx
Steps to reproduce the issue (if applicable)
This can be reproduced in the Carbon for IBM Products Storybook:
-
Open the following URL:
https://ibm-products.carbondesignsystem.com/?path=/story/components-sidepanel--slide-over&args=actions:3;size:2xl -
Set the props as follows:
size:2xl
actions: Any option other thanNone
Screenshot:
-
size:
2xl, actions:One button
→ Unnecessary padding appears above the button.
-
size:
2xl, actions:Two buttons
→ Buttons not only have unnecessary padding above them but are also stacked vertically.
Release date (if applicable)
No response
Code of Conduct
- I agree to follow this project's Code of Conduct
- I checked the current issues for duplicate issues
Metadata
Metadata
Assignees
Labels
Type
Projects
Status