libvirt/SOURCES/libvirt-docs-reduce-excessive-spacing-in-ToC-for-RST-files.patch

40 lines
1.3 KiB
Diff
Raw Normal View History

From f62a2308cc4b92842363d1cc714c101983374857 Mon Sep 17 00:00:00 2001
Message-Id: <f62a2308cc4b92842363d1cc714c101983374857@dist-git>
From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= <berrange@redhat.com>
Date: Wed, 4 Mar 2020 12:42:33 +0100
Subject: [PATCH] docs: reduce excessive spacing in ToC for RST files
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
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@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
(cherry picked from commit 4be5a2f0c2c6f1236828592d8cb9ca5dc6f9df10)
Signed-off-by: Ján Tomko <jtomko@redhat.com>
https://bugzilla.redhat.com/show_bug.cgi?id=1694166
Message-Id: <7d1090688b1ea9a76e46416d461784318b5cb8d4.1583322090.git.jtomko@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@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.25.1