10000 chore: remove unnecessary responsive layout · python/python-docs-theme@44e62dd · GitHub
[go: up one dir, main page]

Skip to content

Commit 44e62dd

Browse files
committed
chore: remove unnecessary responsive layout
The CSS in the base template was updated to include this directive in #7695 and released in sphinx v3.1.0. The original implementation was in #46, prior to the basic theme including it, and now we have the same meta tag duplicated. Remove the block, and reduce the duplication. Signed-off-by: Mike Fiedler <miketheman@gmail.com>
1 parent 4dbc102 commit 44e62dd

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

python_docs_theme/layout.html

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -82,11 +82,6 @@ <h3>{{ _('Navigation') }}</h3>
8282
{{ super() }}
8383
{%- endblock -%}
8484

85-
{%- block css -%}
86-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
87-
{{ super() }}
88-
{%- endblock -%}
89-
9085
{%- block body_tag %}
9186
{{ super() }}
9287
{%- if builder != 'htmlhelp' %}

0 commit comments

Comments
 (0)
0