Skip to content

Revert search bar width override#157

Closed
botre wants to merge 1 commit into
masterfrom
revert-search-bar-width
Closed

Revert search bar width override#157
botre wants to merge 1 commit into
masterfrom
revert-search-bar-width

Conversation

@botre
Copy link
Copy Markdown
Contributor

@botre botre commented May 8, 2026

Summary

  • Remove the .VPNavBarSearch .DocSearch-Button { width: 240px; } block. Default VitePress sizing is fine; the override was unnecessary.

Test plan

  • npm run dev and confirm the navbar search button renders at its default width.
  • Confirm the search modal still opens via Ctrl+K and search returns results.

Drop the 240px width override on the navbar search button. The default
VitePress sizing is fine and avoids fighting the framework's responsive
layout.
@botre botre closed this May 8, 2026
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.

1 participant