diff --git a/frontend/styles/index.css b/frontend/styles/index.css index bd70ccf..d61b051 100644 --- a/frontend/styles/index.css +++ b/frontend/styles/index.css @@ -30,6 +30,10 @@ button.DocSearch.DocSearch-Button { } +#oba-docs-search-container--mobile button.DocSearch-Button { + margin: 0; +} + .DocSearch-Search-Icon { @apply !h-5 !w-5; } diff --git a/src/_layouts/default.erb b/src/_layouts/default.erb index bdf42fa..e25bb23 100644 --- a/src/_layouts/default.erb +++ b/src/_layouts/default.erb @@ -45,7 +45,16 @@ apiKey: "c0fb830900a6cd24677d8f3d791ed567", indexName: "onebusaway-onrender", insights: true, // Optional, automatically send insights when user interacts with search results - container: '.oba-docs-search-container', + container: '#oba-docs-search-container--desktop', + debug: false // Set debug to true if you want to inspect the modal + }); + + docsearch({ + appId: "RDM4DTADEP", + apiKey: "c0fb830900a6cd24677d8f3d791ed567", + indexName: "onebusaway-onrender", + insights: true, // Optional, automatically send insights when user interacts with search results + container: '#oba-docs-search-container--mobile', debug: false // Set debug to true if you want to inspect the modal }); diff --git a/src/_partials/_navbar.erb b/src/_partials/_navbar.erb index 1609676..629ad41 100644 --- a/src/_partials/_navbar.erb +++ b/src/_partials/_navbar.erb @@ -1,7 +1,8 @@