[PATCH 2/3] docs: kbase: Make kbase article directory wider

Peter Krempa pkrempa at redhat.com
Thu Jul 30 10:30:31 UTC 2020


Set the width to our default value of 70em (max 95%) to prevent
unnecessary line breaks if we have just one panel as it's in the kbase
directory.

Signed-off-by: Peter Krempa <pkrempa at redhat.com>
---
 docs/kbase.rst   | 2 +-
 docs/libvirt.css | 8 ++++++++
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/docs/kbase.rst b/docs/kbase.rst
index 509fb6e34e..767c08e637 100644
--- a/docs/kbase.rst
+++ b/docs/kbase.rst
@@ -2,7 +2,7 @@
 Knowledge base
 ==============

-.. container:: panel
+.. container:: panel widepanel

    `Disk locking <kbase/locking.html>`__
       Ensuring exclusive guest access to disks with
diff --git a/docs/libvirt.css b/docs/libvirt.css
index 3f0fd93089..551adac2f2 100644
--- a/docs/libvirt.css
+++ b/docs/libvirt.css
@@ -402,6 +402,14 @@ div.panel {
     background: rgb(230, 230, 230);
 }

+div.widepanel {
+    width: 70em;
+    max-width: 95%;
+    margin-left: 0px;
+    float: left;
+    background: rgb(230, 230, 230);
+}
+
 div.panel h2 {
     margin-top: 0px;
     padding: 0.5em;
-- 
2.26.2




More information about the libvir-list mailing list