FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Fix mobile layout · realpython/python-guide@fc0e41f · GitHub

Commit fc0e41f

Browse files
committed
Fix mobile layout
1 parent aa7edbf commit fc0e41f

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

‎docs/_templates/layout.html‎

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

Back | FazBrowse Home | New Git URL