aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar kosayoda <[email protected]>2022-01-23 14:48:25 -0500
committerGravatar kosayoda <[email protected]>2022-01-23 14:52:31 -0500
commitcacbece7686f1d98671eecb4f9e82fb5724d3445 (patch)
tree1094a3ee82c9f053e6726a7a9d1fdf458b586c2d
parentMerge pull request #640 from Krish-bhardwaj/main (diff)
Prevent page title from overlapping dropdown button.
On clients with a small viewport width, the content title of pages overlap the "Sub-Articles" dropdown button due to having the same z-index, causing the element last positioned in the HTML to show up on top. Fixes #643.
-rw-r--r--pydis_site/templates/content/dropdown.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/pydis_site/templates/content/dropdown.html b/pydis_site/templates/content/dropdown.html
index d81e29dc..13c89c68 100644
--- a/pydis_site/templates/content/dropdown.html
+++ b/pydis_site/templates/content/dropdown.html
@@ -1,4 +1,4 @@
-<div class="dropdown is-pulled-right is-right" id="dropdown">
+<div class="dropdown is-pulled-right is-right" id="dropdown" style="z-index: 1">
<div class="dropdown-trigger">
<a aria-haspopup="true" aria-controls="subarticle-menu">
<span>Sub-Articles</span>