We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3c9aed5 commit 45f7794Copy full SHA for 45f7794
src/pydata_sphinx_theme/toctree.py
@@ -142,7 +142,9 @@ def generate_header_nav_before_dropdown(n_links_before_dropdown):
142
links_dropdown = [
143
# 🐲 brittle code because it relies on the code above to build the HTML in a particular way
144
html.replace("nav-link", "nav-link dropdown-item").replace(
145
- "pst-header-nav-item", ""
+ # Prevents the header-link mixin from applying to links within the dropdown
146
+ "pst-header-nav-item",
147
+ "",
148
)
149
for html in links_html[n_links_before_dropdown:]
150
]
0 commit comments