Unordered list breaks if 10 or more items
See original GitHub issueOrdered list layout broken with 10 or more items
What package(s) are you using?
-
carbon-components
-
carbon-components-react
Detailed description
Describe in detail the issue you’re having. Is this a feature request (new component, new icon), a bug, or a general issue?
Is this issue related to a specific component?
Unordered list
What did you expect to happen? What happened instead? What would you like to see changed?
Spacing should work for any amount of items in an unordered list (or at least 100)
What browser are you working in?
Chrome
What version of the Carbon Design System are you using?
v10.2
What offering/product do you work on? Any pressing ship or release dates we should be aware of?
website
Steps to reproduce the issue
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
UL (Unordered List)
An unordered list typically is a bulleted list of items. HTML 3.0 gives you the ability to customise the bullets, to do without...
Read more >How do I prevent a line break occurring before an unordered ...
Wrapping the list in a <span> now works in Firefox 3.0, but not in Safari 4.0. When I inspect the element in Safari...
Read more >Styling lists - Learn web development | MDN
Lists are relatively easy to get the hang of styling once you know a few associated basic principles and specific properties.
Read more >How to prevent line breaks in the list of items using CSS?
Use height and width property to set an inline element. The display property is used to prevent a line break of a list...
Read more >How to Create an Unordered List in HTML [+Examples]
Step 1: Write out your list items. · Step 2: Wrap each list item in <li> tags. · Step 3: Wrap all list...
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
No, that PR just seems to address multiple nested list items, this issue has to do with when the numbers have more than one digit there isn’t enough space to view them.
@vpicone I thought we decided to solve this your way for lists up through the 100s by adding the fixed width you proposed in your preview link above… it would still be broken for lists with a 1000 or more items, but that use case seemed unlikely to us. I’m going to go back and look at our thread.