mirror of
https://github.com/kennethreitz/python-guide.git
synced 2026-06-05 23:00:18 +00:00
Fix mobile layout
This commit is contained in:
Vendored
+9
-1
@@ -3,7 +3,15 @@
|
|||||||
{%- block extrahead %}
|
{%- block extrahead %}
|
||||||
{# No super() because we want to avoid loading an empty custom.css file #}
|
{# No super() because we want to avoid loading an empty custom.css file #}
|
||||||
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=0.9, maximum-scale=0.9" />
|
{# <meta name="viewport" content="width=device-width, initial-scale=0.75, maximum-scale=0.75" /> #}
|
||||||
|
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
<style>
|
||||||
|
div.body {
|
||||||
|
min-width: initial;
|
||||||
|
max-width: initial;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
||||||
{% if pagename == 'index' %}
|
{% if pagename == 'index' %}
|
||||||
<link rel="canonical" href="https://docs.python-guide.org/"/>
|
<link rel="canonical" href="https://docs.python-guide.org/"/>
|
||||||
|
|||||||
Reference in New Issue
Block a user