diff options
-rw-r--r-- | sources/pyside2/doc/_themes/pysidedocs/static/pyside.css | 7 | ||||
-rw-r--r-- | sources/shiboken2/doc/_themes/pysidedocs/static/pyside.css | 7 |
2 files changed, 12 insertions, 2 deletions
diff --git a/sources/pyside2/doc/_themes/pysidedocs/static/pyside.css b/sources/pyside2/doc/_themes/pysidedocs/static/pyside.css index c6a0c56a1..f6a1c5ae4 100644 --- a/sources/pyside2/doc/_themes/pysidedocs/static/pyside.css +++ b/sources/pyside2/doc/_themes/pysidedocs/static/pyside.css @@ -552,6 +552,9 @@ tt.descname { .container { padding:0 2% } + .sphinxsidebar { + top: 16px !important; + } } #navbar .navbar-oneQt { display:inline; @@ -1172,7 +1175,9 @@ div.multi-column div { .col-2 h2,.toc h3,.sidebar-content h2, .sidebar-content h3,.sectionlist h2, .sphinxsidebar { - position: fixed; + position: -webkit-sticky; + position: sticky; + top: 64px; overflow: scroll; overflow-x: hidden; overflow-y: hidden; diff --git a/sources/shiboken2/doc/_themes/pysidedocs/static/pyside.css b/sources/shiboken2/doc/_themes/pysidedocs/static/pyside.css index c6a0c56a1..f6a1c5ae4 100644 --- a/sources/shiboken2/doc/_themes/pysidedocs/static/pyside.css +++ b/sources/shiboken2/doc/_themes/pysidedocs/static/pyside.css @@ -552,6 +552,9 @@ tt.descname { .container { padding:0 2% } + .sphinxsidebar { + top: 16px !important; + } } #navbar .navbar-oneQt { display:inline; @@ -1172,7 +1175,9 @@ div.multi-column div { .col-2 h2,.toc h3,.sidebar-content h2, .sidebar-content h3,.sectionlist h2, .sphinxsidebar { - position: fixed; + position: -webkit-sticky; + position: sticky; + top: 64px; overflow: scroll; overflow-x: hidden; overflow-y: hidden; |