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.

OrderedList - position of numbers in the ordered list

See original GitHub issue

OrderedList - position of numbers in the ordered list

The position of the numbers in the Ordered list does not seem right. In a two digit number, the SECOND digit should align with the single digit - not the first.

correct:
 9. item
10. item

incorrect: 
9.  item
10. item

What package(s) are you using?

  • [x ] carbon-components
  • [x ] carbon-components-react

What browser are you working in? Chrome, FF, Safari, Edge

What version of the Carbon Design System are you using? “carbon-components”: “10.10.3”, “carbon-components-react”: “7.10.3”,

What offering/product do you work on? Any pressing ship or release dates we should be aware of? KC - IBMDocs

https://react.carbondesignsystem.com/?path=/story/orderedlist--default

alignment

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
daynsscommented, Dec 10, 2020

@aagonzales thank you, now it looks exactly how I wanted it 😃

1reaction
tw15egancommented, Dec 10, 2020

I believe this is an intentional design decision, cc @carbon-design-system/design

Read more comments on GitHub >

github_iconTop Results From Across the Web

<ol>: The Ordered List element - HTML - MDN Web Docs
The HTML element represents an ordered list of items — typically rendered as a numbered list.
Read more >
HTML Ordered Lists - W3Schools
An ordered list starts with the <ol> tag. Each list item starts with the <li> tag. The list items will be marked with...
Read more >
4.22. The Ordered List Abstract Data Type
The ordering is typically either ascending or descending and we assume that list items have a meaningful comparison operation that is already defined....
Read more >
Ordered List -- from Wolfram MathWorld
The number of nondecreasing lists {a_1,a_2,...,a_n} consisting of n elements 1<=a_i<=k is given by the binomial coefficient N(n,k)=(n+k-1; n-1).
Read more >
3.23. Implementing an Ordered List - Open Book Project
In order to implement the ordered list, we must remember that the relative positions of the items are based on some underlying characteristic....
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