Skip to content

Commit 6eaf14c

Browse files
committed
css
1 parent b670b72 commit 6eaf14c

File tree

3 files changed

+5
-25
lines changed

3 files changed

+5
-25
lines changed

python_docs_theme/layout.html

Lines changed: 0 additions & 1 deletion
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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,11 @@
22

33
/* Smooth scroll */
44
html {
5-
scroll-behavior: smooth;
5+
scroll-behavior: auto;
6+
}
7+
8+
:target {
9+
scroll-behavior: auto;
610
}
711

812
/* Common colours */

python_docs_theme/static/sidebar-resizer.js

Lines changed: 0 additions & 23 deletions
This file was deleted.

0 commit comments

Comments
 (0)