audeering / sphinx-audeering-theme

Sphinx theme from audEERING
https://audeering.github.io/sphinx-audeering-theme/
Other
1 stars 0 forks source link

Fix nested ul bottom margin #56

Closed chausner-audeering closed 2 years ago

chausner-audeering commented 2 years ago

This adds a CSS fix for https://github.com/readthedocs/sphinx_rtd_theme/issues/996 which we are encountering several times in our docs.

Before: image

After: image

hagenw commented 2 years ago

When I write the following

* Lorem Ipsum is simply dummy text of the printing and typesetting industry.
  Lorem Ipsum has been the industry's standard dummy text ever since the 1500s,
  when an unknown printer took a galley

  Paragraph inside bullet list

  - sub-list
  - sub-list

  Next paragraph
* next bullet point with some text

I get the following result with my solution

image

which looks ok to me and not what you report with

image


I would propose to include my solution as a fix (https://github.com/audeering/sphinx-audeering-theme/pull/59) and use custom CSS if you want another behavior.

hagenw commented 2 years ago

Closing in favor of https://github.com/audeering/sphinx-audeering-theme/pull/59