diff options
author | 2024-03-29 11:43:09 +0100 | |
---|---|---|
committer | 2024-03-29 11:43:09 +0100 | |
commit | 4eba0522395f9c4fac70907d580b1bde0174220e (patch) | |
tree | 8fee4f7833a8605ebf693c34159d0ddc44916e20 /pydis_site/templates | |
parent | Merge pull request #1210 from python-discord/feat/events-redesign (diff) | |
parent | Fix navbar dropdown toggle for touchscreens using Safari (diff) |
Merge pull request #1273 from python-discord/fix/safari-touch-toggle-dropdown
Fix navbar dropdown toggle for touchscreens using Safari
Diffstat (limited to 'pydis_site/templates')
-rw-r--r-- | pydis_site/templates/base/base.html | 4 |
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"> |