From: Christian Hofstaedtler Date: Sat, 31 Dec 2016 14:27:21 +0000 (+0100) Subject: dnsdist docs: make sidebar scrollable X-Git-Tag: rec-4.1.0-alpha1~362^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F4833%2Fhead;p=thirdparty%2Fpdns.git dnsdist docs: make sidebar scrollable --- diff --git a/pdns/dnsdistdist/website/markdown/extra.css b/pdns/dnsdistdist/website/markdown/extra.css new file mode 100644 index 0000000000..ffcefb7ad1 --- /dev/null +++ b/pdns/dnsdistdist/website/markdown/extra.css @@ -0,0 +1,5 @@ +/* Allow scrolling of H1...n sidebar */ +.bs-sidebar { + overflow: scroll; + max-height: 80%; +} diff --git a/pdns/dnsdistdist/website/mkdocs.yml b/pdns/dnsdistdist/website/mkdocs.yml index 2f69dc6289..38416c73a6 100644 --- a/pdns/dnsdistdist/website/mkdocs.yml +++ b/pdns/dnsdistdist/website/mkdocs.yml @@ -3,6 +3,7 @@ repo_url: https://github.com/PowerDNS/pdns docs_dir: markdown site_dir: html theme: bootstrap +extra_css: [extra.css] pages: - dnsdist: - Homepage: index.md