diff options
| author | Georg Brandl <georg@python.org> | 2010-02-28 09:45:28 +0100 |
|---|---|---|
| committer | Georg Brandl <georg@python.org> | 2010-02-28 09:45:28 +0100 |
| commit | ac7c418cd6b72ecd6236d42d2dd7d778a04b23a8 (patch) | |
| tree | 76bd5800137fc92a858ea78c1c37c6e5c6ee3f98 | |
| parent | 46381a06d9e9f9b0b499dfee0ba339e6e7c3bf12 (diff) | |
| download | sphinx-ac7c418cd6b72ecd6236d42d2dd7d778a04b23a8.tar.gz | |
#345: Fix cropping of sidebar scroll bar with ``stickysidebar``
option of the default theme.
| -rw-r--r-- | CHANGES | 3 | ||||
| -rw-r--r-- | sphinx/themes/default/static/default.css_t | 3 |
2 files changed, 5 insertions, 1 deletions
@@ -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; |
