Skip to content

Commit fc0e41f

Browse files
committed
Fix mobile layout
1 parent aa7edbf commit fc0e41f

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

docs/_templates/layout.html

+9-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,15 @@
33
{%- block extrahead %}
44
{# No super() because we want to avoid loading an empty custom.css file #}
55

6-
<meta name="viewport" content="width=device-width, initial-scale=0.9, maximum-scale=0.9" />
6+
{# <meta name="viewport" content="width=device-width, initial-scale=0.75, maximum-scale=0.75" /> #}
7+
8+
<meta name="viewport" content="width=device-width, initial-scale=1">
9+
<style>
10+
div.body {
11+
min-width: initial;
12+
max-width: initial;
13+
}
14+
</style>
715

816
{% if pagename == 'index' %}
917
<link rel="canonical" href="https://docs.python-guide.org/"/>

0 commit comments

Comments
 (0)