From 4cd3f7bda429ea05d4a03c765c6aaeb9b157def0 Mon Sep 17 00:00:00 2001 From: Peter Krempa Date: Thu, 30 Jul 2020 11:44:33 +0200 Subject: [PATCH] docs: kbase: Make kbase article directory wider MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-by: Michal Privoznik Reviewed-by: Ján Tomko --- 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 `__ 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;