Skip to content

Commit

Permalink
Sphinx style sheet: Improve definition list styling
Browse files Browse the repository at this point in the history
Setting label_max_width < label_min_width causes definitions with a
term exceeding label_min_width to be rendered on a separate line.

Definitions used to be rendered like this, but recent changes must
have changed this. This change was not detected because we no longer
have tests in place to detect this regression (see #169).
  • Loading branch information
brechtm committed Oct 26, 2020
1 parent 6be6e9b commit 74621b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rinoh/data/stylesheets/sphinx.rts
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ indent_first=0pt

[definition list item]
label_min_width=17pt
label_max_width=none
label_max_width=0

[definition term]
space_above=4pt
Expand Down

0 comments on commit 74621b0

Please sign in to comment.