aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/templates
diff options
context:
space:
mode:
Diffstat (limited to 'pydis_site/templates')
-rw-r--r--pydis_site/templates/base/base.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/pydis_site/templates/base/base.html b/pydis_site/templates/base/base.html
index 0eb10975..8aca1d43 100644
--- a/pydis_site/templates/base/base.html
+++ b/pydis_site/templates/base/base.html
@@ -32,7 +32,9 @@
{% block head %}{% endblock %}
</head>
-<body class="site">
+<!-- The tabindex attribute fixes the inability to toggle the navbar dropdown
+ -- on touchscreens using Safari. -->
+<body class="site" tabindex="-1">
<!-- Git hash for this release: {{ git_sha }} -->
<main class="site-content">