Skip to content

Commit cacbece

Browse files
committed
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.
1 parent b9afaf7 commit cacbece

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pydis_site/templates/content/dropdown.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<div class="dropdown is-pulled-right is-right" id="dropdown">
1+
<div class="dropdown is-pulled-right is-right" id="dropdown" style="z-index: 1">
22
<div class="dropdown-trigger">
33
<a aria-haspopup="true" aria-controls="subarticle-menu">
44
<span>Sub-Articles</span>

0 commit comments

Comments
 (0)