Skip to content

Conversation

@mihkeleidast
Copy link
Contributor

Currently, the ul is rendered on non-search pages, even if it's empty. This causes the flex parent to apply some spacing between the empty ul and the search box.

If you are on e.g. the settings page, then type into the search box, and you are navigated to the search page, the previous condition removed the ul at that point, causing the search box to move slightly as the additional flex gap was removed.

This should fix the issue to some degree, as there is no need to render the empty ul if the li v-if conditions are not also met.

@vercel
Copy link

vercel bot commented Feb 2, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
npmx.dev Ready Ready Preview, Comment Feb 2, 2026 4:53pm
2 Skipped Deployments
Project Deployment Actions Updated (UTC)
docs.npmx.dev Ignored Ignored Preview Feb 2, 2026 4:53pm
npmx-lunaria Ignored Ignored Feb 2, 2026 4:53pm

Request Review

@danielroe danielroe added this pull request to the merge queue Feb 2, 2026
Merged via the queue into npmx-dev:main with commit 792223c Feb 2, 2026
13 checks passed
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