Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix numbered list alignment #1833

Merged
merged 1 commit into from Feb 24, 2023
Merged

Fix numbered list alignment #1833

merged 1 commit into from Feb 24, 2023

Conversation

Slowlife01
Copy link
Contributor

Fixes #1818

image

@@ -70,6 +70,9 @@ const sx: SystemStyleObject = {
borderBottomColor: "gray.700",
},
},
"ol li::marker": {
content: "counter(list-item) '.'",
},
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could you please explain this fix to me?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Whoop sorry, I didn't see your comment. Here is more information about this https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Counter_Styles/Using_CSS_counters

Copy link
Collaborator

@notmd notmd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wow thank a lot, first time I see this magic

@notmd notmd merged commit 91b4bd1 into LAION-AI:main Feb 24, 2023
@notmd notmd mentioned this pull request Feb 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The Markdown numbering system does not display correctly when more than one digit is used.
3 participants