sindresorhus / sindresorhus/github-markdown-css
BUG: Incorrect RTL styling for list
Open
Beginner friendly
Nobody has claimed this yet.
- Dominant language
- CSS
- Stars
- 8.9k
- Forks
- 2.1k
- PR merge metrics
- No merged PRs in 30d
Description
Issue
Currently ul/ol padding is hard-coded to padding-left: 2em;
Suggestion
Consider using padding-inline-start instead of padding-left or add a rtl styling.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in github-markdown.css around lines 452-457, where ul/ol use hard-coded padding-left. Review the existing list styling and change the direction-sensitive padding so RTL lists are positioned correctly. Done means list indentation works for both left-to-right and right-to-left text.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- css
- Domain
- frontend, internationalization
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Quiet
- Clarity
- Clearly specified
- Newbie friendliness
- 82/100