question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unordered list breaks if 10 or more items

See original GitHub issue

Ordered 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

https://codepen.io/alisonjoseph/pen/ydgxQe

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
alisonjosephcommented, Jun 20, 2019

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.

0reactions
jeanservaascommented, Aug 21, 2019

@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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found