Skip to content

Fix API Reference icon stacking in nav dropdown - #1287

Merged
Jatinp26 merged 1 commit into
mainfrom
fix/nav-dropdown-api-reference-icon-stacking
Aug 10, 2026
Merged

Fix API Reference icon stacking in nav dropdown#1287
Jatinp26 merged 1 commit into
mainfrom
fix/nav-dropdown-api-reference-icon-stacking

Conversation

@8bitpal

@8bitpal 8bitpal commented Aug 7, 2026

Copy link
Copy Markdown
Collaborator

Remove display: block from .nav-dropdown-products-selector-content > a[href="/api-reference"] in docs-main/styles.css, keeping the border/spacing that creates the visual divider.

Closes #1285

The custom divider rule for the API Reference entry in the top-nav
product dropdown forced display: block on the link, which broke
Mintlify's flex layout for the icon and label and stacked the icon
above the text. Removing display: block keeps the divider/spacing
while restoring the normal row layout.

Signed-off-by: 8bitpal <elias@zerolimit.es>
@mintlify

mintlify Bot commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
cantonfoundation 🟢 Ready View Preview Aug 7, 2026, 2:10 PM

💡 Tip: Enable Workflows to automatically generate PRs for you.

@Jatinp26
Jatinp26 merged commit f4786f1 into main Aug 10, 2026
4 checks passed
@Jatinp26
Jatinp26 deleted the fix/nav-dropdown-api-reference-icon-stacking branch August 10, 2026 07:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Icon of API reference in dropdown menu rendered incorrectly

2 participants