Fomantic-UI
Fomantic-UI copied to clipboard
[list] fix styling of multi-digit ordered lists (#1130)
Description
Fixes styling of multi-digit ordered lists - made the number aligned to the right of the text, so that when more digits are required they will be added on the left and the right edge of the number will stay in place.
I used translateX(-100%)
to keep the right edge in a constant position, and adjusted the margin a bit since it previously accounted for the width of the number itself. The number I adjusted it to is to keep the look of numbers with single digits the same.
Testcase
https://jsfiddle.net/futybd2v/
Screenshot
Current (left) vs fixed (right)
Closes
Fixes #1130
@NotWearingPants Are you interested in continuation to work on this PR? Please see my review 😉
@lubber-de I am, but finding the time isn't always easy :) I'mma try now
@NotWearingPants Do you think you can work on this again?
@NotWearingPants Maybe this got forgotten: Do you think you can work on this again? Please see my review
@lubber-de It's been too long for not replying. Should I take over or would you like to finish with your reviews?
@lubber-de It's been too long for not replying. Should I take over or would you like to finish with your reviews?
My review was done already, so if you like you can take over