render / rpms / libvirt

Forked from rpms/libvirt 10 months ago
Clone
d76c62
From f62a2308cc4b92842363d1cc714c101983374857 Mon Sep 17 00:00:00 2001
d76c62
Message-Id: <f62a2308cc4b92842363d1cc714c101983374857@dist-git>
d76c62
From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= <berrange@redhat.com>
d76c62
Date: Wed, 4 Mar 2020 12:42:33 +0100
d76c62
Subject: [PATCH] docs: reduce excessive spacing in ToC for RST files
d76c62
MIME-Version: 1.0
d76c62
Content-Type: text/plain; charset=UTF-8
d76c62
Content-Transfer-Encoding: 8bit
d76c62
d76c62
The table of contents in the RST based files uses 

tags inside the

d76c62
  • , which results in 1em's worth of spacing above & below each
  • d76c62
    entry. This results in way too much whitespace in the ToC.
    d76c62
    d76c62
    Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
    d76c62
    Reviewed-by: Ján Tomko <jtomko@redhat.com>
    d76c62
    (cherry picked from commit 4be5a2f0c2c6f1236828592d8cb9ca5dc6f9df10)
    d76c62
    Signed-off-by: Ján Tomko <jtomko@redhat.com>
    d76c62
    https://bugzilla.redhat.com/show_bug.cgi?id=1694166
    d76c62
    Message-Id: <7d1090688b1ea9a76e46416d461784318b5cb8d4.1583322090.git.jtomko@redhat.com>
    d76c62
    Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
    d76c62
    ---
    d76c62
     docs/libvirt.css | 4 ++++
    d76c62
     1 file changed, 4 insertions(+)
    d76c62
    d76c62
    diff --git a/docs/libvirt.css b/docs/libvirt.css
    d76c62
    index 2fe123395c..18e55dac59 100644
    d76c62
    --- a/docs/libvirt.css
    d76c62
    +++ b/docs/libvirt.css
    d76c62
    @@ -579,3 +579,7 @@ ul.news-section-content li dl dd {
    d76c62
         font-family: monospace;
    d76c62
         background: #eeeeee;
    d76c62
     }
    d76c62
    +
    d76c62
    +.contents li p {
    d76c62
    +    margin: 2px;
    d76c62
    +}
    d76c62
    -- 
    d76c62
    2.25.1
    d76c62