docusaurus-search-local
docusaurus-search-local copied to clipboard
Change search bar position
The default search action is essentially a button in the navbar that opens a modal containing the actual search bar component. I want to remove the button and directly place the search bar component in the navbar in the center. Is this possible?
I want to remove the button and directly place the search bar component in the navbar
Since https://github.com/cmfcmf/docusaurus-search-local/blob/main/packages/docusaurus-search-local/src/client/theme/SearchBar/index.tsx#L241 hardcodes detachedMediaQuery
to ""
I don't think that is possible. Can we please extract it out as a config?
It's not what everyone wants so please provide an option to shift to popup layout if you are adding this.
I also need this function very much. If only it could be embedded anywhere on the page