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

Multi-line list item does not indent correctly #76

Closed
yungyuc opened this issue Jul 31, 2021 · 3 comments
Closed

Multi-line list item does not indent correctly #76

yungyuc opened this issue Jul 31, 2021 · 3 comments

Comments

@yungyuc
Copy link
Contributor

yungyuc commented Jul 31, 2021

See the blue text in t.he following picture:

image

For some reason the style sheet does not have the multi-line list item to align well where it should indent.

@terrychan999
Copy link
Contributor

The <li> is configured to list-inside
ref: https://github.com/sciwork/swportal/blob/92c77e58272baefd8d063129e630702e9f768fc6/tailwind/styles.css/#L37

these changes can solve the problem:

ol,ul {
    padding-left: 1em;
}

li { @apply list-outside list-disc; }

demonstration:
image

@yungyuc
Copy link
Contributor Author

yungyuc commented Aug 7, 2021

Thanks for the review! If you have time, could you file a PR for a fix?

@yungyuc
Copy link
Contributor Author

yungyuc commented Aug 10, 2021

Fixed by #79

@yungyuc yungyuc closed this as completed Aug 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants