Skip to content

Commit

Permalink
css
Browse files Browse the repository at this point in the history
  • Loading branch information
Wulian233 committed Dec 21, 2024
1 parent 71e3162 commit 0a2c552
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 25 deletions.
1 change: 0 additions & 1 deletion python_docs_theme/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ <h3>{{ _('Navigation') }}</h3>
<script type="text/javascript" src="{{ pathto('_static/menu.js', 1) }}"></script>
<script type="text/javascript" src="{{ pathto('_static/search-focus.js', 1) }}"></script>
<script type="text/javascript" src="{{ pathto('_static/themetoggle.js', 1) }}"></script>
<script type="text/javascript" src="{{ pathto('_static/sidebar-resizer.js', 1) }}"></script>
{%- endif -%}
{%- endif -%}
{{ super() }}
Expand Down
4 changes: 3 additions & 1 deletion python_docs_theme/static/pydoctheme.css
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,8 @@ div.sphinxsidebar {
line-height: 130%;
font-size: smaller;
width: 300px;
min-width: 200px;
max-width: 500px;
resize: horizontal;
overflow: auto;
}
Expand All @@ -160,7 +162,7 @@ div.sphinxsidebar h4 {
}

div.sphinxsidebarwrapper {
width: 100%;
width: 300px;
box-sizing: border-box;
height: 100%;
overflow-x: hidden;
Expand Down
23 changes: 0 additions & 23 deletions python_docs_theme/static/sidebar-resizer.js

This file was deleted.

0 comments on commit 0a2c552

Please sign in to comment.