Skip to content

Commit 0a2c552

Browse files
committed
css
1 parent 71e3162 commit 0a2c552

File tree

3 files changed

+3
-25
lines changed

3 files changed

+3
-25
lines changed

python_docs_theme/layout.html

-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@ <h3>{{ _('Navigation') }}</h3>
7878
<script type="text/javascript" src="{{ pathto('_static/menu.js', 1) }}"></script>
7979
<script type="text/javascript" src="{{ pathto('_static/search-focus.js', 1) }}"></script>
8080
<script type="text/javascript" src="{{ pathto('_static/themetoggle.js', 1) }}"></script>
81-
<script type="text/javascript" src="{{ pathto('_static/sidebar-resizer.js', 1) }}"></script>
8281
{%- endif -%}
8382
{%- endif -%}
8483
{{ super() }}

python_docs_theme/static/pydoctheme.css

+3-1
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,8 @@ div.sphinxsidebar {
150150
line-height: 130%;
151151
font-size: smaller;
152152
width: 300px;
153+
min-width: 200px;
154+
max-width: 500px;
153155
resize: horizontal;
154156
overflow: auto;
155157
}
@@ -160,7 +162,7 @@ div.sphinxsidebar h4 {
160162
}
161163

162164
div.sphinxsidebarwrapper {
163-
width: 100%;
165+
width: 300px;
164166
box-sizing: border-box;
165167
height: 100%;
166168
overflow-x: hidden;

python_docs_theme/static/sidebar-resizer.js

-23
This file was deleted.

0 commit comments

Comments
 (0)