-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Accordion content has padding right 25% applies #4993
Comments
Pretty sure this is a design pattern introduced in v10, so it seems to be working as expected. Pinging @carbon-design-system/design to confirm. |
I see, the problem is that we have an accordion on the left half of the page, then other contents on the right. And there is a big empty space now after upgrading to v10. please keep me updated. thanks |
@tw15egan as Nicole mentioned it occupies a lot of white space and would like to make sure we don't have to override everything. |
What size if your accordion on the page? As TJ said this is the expected behavior to help prevent line length from being too long but I think we can maybe change it at smaller sizes to allow the content to span 100% of the accordion, we've just started doing this with modal as well. Let me mock something up. But the larger padding right will remain on certain larger sizes. |
@aagonzales here is screencap of what we want to achieve. We have a table under an accordion content, and a side panel next to the accordions. So 25% does leave a big gap, we talked with UX and they don't like that. We think maybe align with the caret would be a good choice? |
@aagonzales yes our design went through research and testing and decided on accodion and we don't see other similar components. For the title, the component can takes component directly so we didn't use just text. |
Currently, we just reduce the |
@tw15egan is there a fix for this being worked on? |
@ashpc I can get a fix in for this today. I will take specs from #4993 (comment) |
What package(s) are you using?
carbon-components
carbon-components-react
Detailed description
IBM Cloud
Steps to reproduce the issue
Additional information
The text was updated successfully, but these errors were encountered: