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

RST lists could use some spacing between items #92

Open
tbrlpld opened this issue Apr 15, 2021 · 1 comment
Open

RST lists could use some spacing between items #92

tbrlpld opened this issue Apr 15, 2021 · 1 comment

Comments

@tbrlpld
Copy link
Collaborator

tbrlpld commented Apr 15, 2021

Markdown lists use paragraphs for the content. That creates some spacing between the list items. The is another topic that we also need to address because it seems to create to much spacing.

What I am concerned with there is the list that are generated from RST input. There Sphinx does not seem to use the same approach leading to very dense lists. The denseness is an issue when the content is longer paragraphs as can be expected in step-by-step guides.

E.g. this:
image

https://wagtail--6930.org.readthedocs.build/en/6930/editor_manual/finding_your_way_around/the_dashboard.html

I find it very hard to read. I think we should add some spacing between the list items that is larger than the line height.

@tbrlpld tbrlpld created this issue from a note in Wagtail theme switch (Needs triage) Apr 15, 2021
@PaarthAgarwal
Copy link
Member

This one is complicated. The root of this is actually these lines

li > p {
  margin-bottom: 0;
}

present in custom.css as a workaround for executablebooks/MyST-Parser#533.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

No branches or pull requests

2 participants