fix: UI polish — font flash, search transition, chat assistant animation, sidebar icon#176
Merged
patcapulong merged 4 commits intomainfrom Feb 10, 2026
Merged
fix: UI polish — font flash, search transition, chat assistant animation, sidebar icon#176patcapulong merged 4 commits intomainfrom
patcapulong merged 4 commits intomainfrom
Conversation
…ion, sidebar icon - Change navbar link font-weight from 450 (Book) to 500 (Medium) to eliminate font flash on "GitHub" and "Contact Sales" during SPA navigation - Replace `transition: all` with specific property transitions on #search-bar-entry and #assistant-entry to prevent width/layout animations - Disable entrance slide-up animation on chat assistant floating input while preserving Mintlify's show/hide logic for short pages - Fix mobile chat assistant clipping with split overflow axes (overflow-x: visible for 8px bleed, overflow-y: hidden for hide logic) - Add Exchange Rates sidebar icon (trending.svg) in API Reference Co-authored-by: Cursor <cursoragent@cursor.com>
Contributor
Greptile OverviewGreptile SummaryThis PR makes a set of Mintlify UI polish fixes in Changes are limited to Mintlify assets (CSS + a new SVG icon) and follow the existing pattern of overriding Mintlify component styling via selectors and Confidence Score: 5/5
|
| Filename | Overview |
|---|---|
| mintlify/style.css | Tweaks navbar font-weight to 500, disables overly broad transitions on search/assistant, removes chat assistant entrance transition, adjusts mobile overflow for assistant, and adds Exchange Rates sidebar icon mapping; no definite regressions found. |
| mintlify/images/icons/trending.svg | Adds a new 20x20 trending SVG icon referenced by sidebar CSS; file is a simple stroke-only SVG. |
Sequence Diagram
sequenceDiagram
participant U as User
participant N as Navbar
participant CSS as CSS
participant CA as ChatAssistant
participant SB as Sidebar
U->>N: Navigate (SPA)
N->>CSS: Apply navbar link styles
Note over N,CSS: font-weight 500 avoids flash
U->>N: Hover search/Ask AI
N->>CSS: Apply hover border/color
Note over N,CSS: container transition disabled
U->>CA: Show floating input
CA->>CSS: Apply transition none
Note over CA,CSS: JS still toggles visibility
U->>SB: Open API sidebar
SB->>CSS: Resolve icon background
CSS-->>SB: trending.svg
…s on search/assistant - Split overflow axes don't work (CSS spec coerces visible→auto when other axis is hidden), so use plain overflow: visible on mobile - Remove transitions entirely on #search-bar-entry and #assistant-entry to prevent any property from animating during SPA navigation Co-authored-by: Cursor <cursoragent@cursor.com>
…ntering Co-authored-by: Cursor <cursoragent@cursor.com>
pengying
approved these changes
Feb 10, 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
next/font/localindocs.json, eliminating the flash during SPA navigationtransition: allwith specific property transitions (border-color,background-color) on#search-bar-entryand#assistant-entryto prevent width/layout from animating during page navigationoverflow-x: visible,overflow-y: hidden) on the parent container so the 8px horizontal bleed works without breaking vertical hide clippingTest plan
Made with Cursor