From fbc2c113ee8cb281d030c486572c5d22ad3b458e Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Sun, 28 Feb 2010 09:45:28 +0100 Subject: [PATCH] #345: Fix cropping of sidebar scroll bar with ``stickysidebar`` option of the default theme. --- CHANGES | 3 +++ sphinx/themes/default/static/default.css_t | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGES b/CHANGES index 7aefbe221..1a22a4765 100644 --- a/CHANGES +++ b/CHANGES @@ -1,6 +1,9 @@ Release 0.6.5 (in development) ============================== +* #345: Fix cropping of sidebar scroll bar with ``stickysidebar`` + option of the default theme. + * #341: Always generate UNIX newlines in the quickstart Makefile. * #338: Fix running with ``-C`` under Windows. diff --git a/sphinx/themes/default/static/default.css_t b/sphinx/themes/default/static/default.css_t index b465da3fa..5f4a4c6fa 100644 --- a/sphinx/themes/default/static/default.css_t +++ b/sphinx/themes/default/static/default.css_t @@ -67,10 +67,11 @@ div.related a { div.sphinxsidebar { {%- if theme_stickysidebar|tobool %} top: 30px; + bottom: 0; margin: 0; position: fixed; overflow: auto; - height: 100%; + height: auto; {%- endif %} {%- if theme_rightsidebar|tobool %} float: right;