]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
css: mobile: Fix responsive design of 'docs' and 'knowledgebase' pages
authorPeter Krempa <pkrempa@redhat.com>
Tue, 16 May 2023 13:50:47 +0000 (15:50 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 17 May 2023 08:08:36 +0000 (10:08 +0200)
When the pages were converted to rST it required changes to how the
panels are created. This change was not reproduced in the specific media
override for narrow displays and thus made those pages unusable.

Note that two lines per document are needed as some rst2html5 versions
format a <div class='section'> and others do a <section> element
instead.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
docs/css/mobile.css

index c538f953fbb77a71936ed605c0e16487de04c2ec..1a2ea6fcc3b76764d16e7d1ab02f04153d21ca04 100644 (file)
     #body {
        margin-top: 180px;
     }
+    #documentation section,
+    #documentation .section,
+    #knowledge-base section,
+    #knowledge-base .section,
     div.panel {
        width: 80%;
        float: none;