forked from OpenZeppelin/docs.openzeppelin.com
-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Issue:
While browsing the docs I keep looking at the Search input placeholder else statement as a menu item.
placeholder="{{#if (eq @root.page.component.name " ROOT")}}Search{{else}} Search
{{@root.page.component.title}}{{/if}}">
Example: at home page, the word Home on "Search Home" seems like a menu item one can click but incorrectly positioned.

Solution:
Keep it simple, from a quick test I could find that the search feature is not selective. Meaning that if I search for a query, the results are osmotic to any page and not exclusive to the one i'm searching from. Or, if you want to keep it, let's remove the spacing between words (removing the line break should do it).
placeholder="Search">
or
placeholder="{{#if (eq @root.page.component.name "ROOT")}}Search{{else}} Search {{@root.page.component.title}}{{/if}}">
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels