Conversation
…btitled spec items Co-Authored-By: ryanstep <ryanstep@umich.edu>
Contributor
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
Contributor
Co-Authored-By: ryanstep <ryanstep@umich.edu>
Co-Authored-By: ryanstep <ryanstep@umich.edu>
Co-Authored-By: ryanstep <ryanstep@umich.edu>
…em spacing Co-Authored-By: ryanstep <ryanstep@umich.edu>
…x) for ferndef Co-Authored-By: ryanstep <ryanstep@umich.edu>
Co-Authored-By: ryanstep <ryanstep@umich.edu>
…o original values Co-Authored-By: ryanstep <ryanstep@umich.edu>
Co-Authored-By: ryanstep <ryanstep@umich.edu>
devalog
approved these changes
Apr 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The product switcher dropdown layout broke after subtitles were added to the API spec items in #4652. The new subtitle text caused text wrapping and uneven spacing in the right-column spec items (OpenAPI, AsyncAPI, etc.).
Rather than adjusting widths and offsets to accommodate the subtitles, we hide them in the product switcher since they were added primarily for
llms.txtrather than the visual dropdown UI. Subtitles on the main product items (Home, SDKs, Docs, Dashboard, CLI Reference) are left visible.This PR makes three changes:
display: noneon.fern-selection-item-subtitlescoped to the 5 spec items (OpenAPI, AsyncAPI, OpenRPC, gRPC, Fern Definition), restoring the original compact layout for the right column.a[href*="ask-fern"]→a[href*="dashboard"]so Dashboard is correctly placed at column 2, row 2.ask-fern(Dashboard already has its own rule).Review & Testing Checklist for Human
display: nonerule targets items matchingopenapi,asyncapi,openrpc,grpc, andferndefby href. Confirm that main product items (Home, SDKs, Docs, Dashboard, CLI Reference) still show their subtitles.translateYoffsets (-32px, -64px, -96px, -96px) were designed for items without subtitles. With subtitles hidden, spacing should look correct again, but verify visually that the 5 spec items have consistent vertical gaps.Recommended test: open the product switcher on desktop in both light and dark mode. Confirm spec items show no subtitles while main products do, all items are correctly positioned, and clicking each item navigates correctly.
Notes
@media (min-width: 1024px)so mobile layout is unaffected.docs.ymlconfig and will continue to appear inllms.txtand any other context that reads them — they are only hidden visually in the product switcher dropdown.a[href*="..."]selectors, so if spec product URLs change, the rules will need updating.Link to Devin session: https://app.devin.ai/sessions/326d9358f7e541a79356825a0b2c9e41
Requested by: @Ryan-Amirthan