[libvirt PATCH] docs: reduce excessive spacing in ToC for RST files

Daniel P. Berrangé berrange at redhat.com
Fri Feb 7 16:05:02 UTC 2020


The table of contents in the RST based files uses <p> tags inside the
<li>, which results in 1em's worth of spacing above & below each
entry. This results in way too much whitespace in the ToC.

Signed-off-by: Daniel P. Berrangé <berrange at redhat.com>
---
 docs/libvirt.css | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/docs/libvirt.css b/docs/libvirt.css
index 2fe123395c..18e55dac59 100644
--- a/docs/libvirt.css
+++ b/docs/libvirt.css
@@ -579,3 +579,7 @@ ul.news-section-content li dl dd {
     font-family: monospace;
     background: #eeeeee;
 }
+
+.contents li p {
+    margin: 2px;
+}
-- 
2.24.1




More information about the libvir-list mailing list