Accordion content has padding right 25% applies
See original GitHub issueWhat package(s) are you using?
-
carbon-components
-
carbon-components-react
Detailed description
Describe in detail the issue you’re having. Accordion content has 25% padding, this is taking a lot of space and didn’t used to be like this in v9.
Is this issue related to a specific component? AccordionItem
What did you expect to happen? What happened instead? What would you like to see changed?
What browser are you working in? Chrome Version 79.0.3945.88 (Official Build) (64-bit)
What version of the Carbon Design System are you using? carbon-components-react: 7.9.0 carbon-components: 10.9.0
What offering/product do you work on? Any pressing ship or release dates we should be aware of?
IBM Cloud
Steps to reproduce the issue
- Step one
- Step two
- Step three
- etc.
Please create a reduced test case in CodeSandbox
Additional information
- Screenshots or code
- Notes
Issue Analytics
- State:
- Created 4 years ago
- Comments:12 (10 by maintainers)
Top Results From Across the Web
how to remove left and right margin in jquery ui accordion?
But I want to remove left and right margins of accordions to use whole page for data representation. I managed it with margin-left...
Read more >Accordion content padding / alignment - Support - Themeco
Hi, Is it possible to either add padding to the left of my accordion content (not the title) or centre it so the...
Read more >How to create an accordion menu using webflow?
Style it: padding left and right: 10px padding top and bottom: 20px. Create a Link Block, place it inside the Accordion Heading Wrap....
Read more >Bootstrap Spacing - examples & tutorial
The same sizes apply to all directions (left, right, top, bottom) and for both margins and padding. Class name, Size, Visual representation .me-1,...
Read more >Spacing · Bootstrap v5.0
Classes are built from a default Sass map ranging from .25rem to 3rem . ... Spacing utilities that apply to all breakpoints, from...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Currently, we just reduce the
padding-right
to3rem
on screens less than 800something px. We could add another breakpoint to make it just 16px under certain screen sizes (mobile)@ashpc I can get a fix in for this today. I will take specs from https://github.com/carbon-design-system/carbon/issues/4993#issuecomment-573199723