From 74621b0319f63a9c5f1847615debe84b503a6a40 Mon Sep 17 00:00:00 2001 From: Brecht Machiels Date: Mon, 26 Oct 2020 10:37:32 +0100 Subject: [PATCH] Sphinx style sheet: Improve definition list styling 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). --- src/rinoh/data/stylesheets/sphinx.rts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rinoh/data/stylesheets/sphinx.rts b/src/rinoh/data/stylesheets/sphinx.rts index 2b80c16a0..f5c440866 100644 --- a/src/rinoh/data/stylesheets/sphinx.rts +++ b/src/rinoh/data/stylesheets/sphinx.rts @@ -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