Skip to content

fix(navbar): remove conflicting docsearch deps and CSS overrides - #893

Merged
manasmanohar merged 1 commit into
mainfrom
fix/navbar-search-box
Jul 24, 2026
Merged

fix(navbar): remove conflicting docsearch deps and CSS overrides#893
manasmanohar merged 1 commit into
mainfrom
fix/navbar-search-box

Conversation

@shreya1510ss

Copy link
Copy Markdown
Contributor

##What has changed?
Issue: The navbar search box was not styled correctly, unlike the default clean look on stock Docusaurus sites.

image

Cause:
@docsearch/react/@docsearch/core were unnecessarily added directly in package.json, conflicting with the version already bundled by @docusaurus/preset-classic.
Custom !important CSS overrides on .DocSearch-Button in src/css/custom.css were fighting DocSearch's default styling.
Fix: Removed both, restoring the default clean search box look.

Fixes https://github.com/keploy/enterprise/issues/2291

Image after fix

image

Signed-off-by: Shreya Sharma <shreyasharma.1510001@gmail.com>

@manasmanohar manasmanohar left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@manasmanohar
manasmanohar merged commit 1421df3 into main Jul 24, 2026
7 checks passed
@manasmanohar
manasmanohar deleted the fix/navbar-search-box branch July 24, 2026 05:06
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.

2 participants