render / rpms / libvirt

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

tags inside the

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