summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-02-28 09:45:28 +0100
committerGeorg Brandl <georg@python.org>2010-02-28 09:45:28 +0100
commitac7c418cd6b72ecd6236d42d2dd7d778a04b23a8 (patch)
tree76bd5800137fc92a858ea78c1c37c6e5c6ee3f98
parent46381a06d9e9f9b0b499dfee0ba339e6e7c3bf12 (diff)
downloadsphinx-ac7c418cd6b72ecd6236d42d2dd7d778a04b23a8.tar.gz
#345: Fix cropping of sidebar scroll bar with ``stickysidebar``
option of the default theme.
-rw-r--r--CHANGES3
-rw-r--r--sphinx/themes/default/static/default.css_t3
2 files changed, 5 insertions, 1 deletions
diff --git a/CHANGES b/CHANGES
index 7aefbe22..1a22a476 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 b465da3f..5f4a4c6f 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;