Skip to content

Commit

Permalink
chore: remove unnecessary responsive layout
Browse files Browse the repository at this point in the history
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 python#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>
  • Loading branch information
miketheman committed Jul 27, 2023
1 parent 4dbc102 commit 44e62dd
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions python_docs_theme/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -82,11 +82,6 @@ <h3>{{ _('Navigation') }}</h3>
{{ super() }}
{%- endblock -%}

{%- block css -%}
<meta name="viewport" content="width=device-width, initial-scale=1.0">
{{ super() }}
{%- endblock -%}

{%- block body_tag %}
{{ super() }}
{%- if builder != 'htmlhelp' %}
Expand Down

0 comments on commit 44e62dd

Please sign in to comment.