diff --git a/components/Search.tsx b/components/Search.tsx
index 87b39b271..e8c8b60f3 100644
--- a/components/Search.tsx
+++ b/components/Search.tsx
@@ -3,7 +3,7 @@ import { DocSearch } from '@docsearch/react';
import '@docsearch/css';
const Search: React.FC = () => {
- return ;
+ return ;
};
export default Search;
diff --git a/index.css b/index.css
index d81809d00..f240c15ed 100644
--- a/index.css
+++ b/index.css
@@ -1,3 +1,4 @@
+@tailwind base;
@tailwind components;
@tailwind utilities;
@@ -34,6 +35,10 @@ ol.nx-list-decimal {
--docsearch-primary-color: #0ea5e9;
}
+.DocSearch--active {
+ overflow: unset !important;
+}
+
.DocSearch-Modal {
@apply !rounded-md shadow-none dark:bg-neutral-800;
}
@@ -43,7 +48,20 @@ ol.nx-list-decimal {
}
.DocSearch-Search-Icon {
- @apply !text-gray-800 dark:!text-gray-400;
+ @apply !text-gray-800 dark:!text-gray-400 !flex !items-center !justify-center;
+}
+
+.DocSearch-Screen-Icon {
+ @apply flex justify-center;
+}
+
+.DocSearch-Button-Keys {
+ height: 100%;
+ align-items: center;
+}
+
+.DocSearch-Button-Key {
+ top: 0;
}
.DocSearch-Button-Key {
diff --git a/theme.config.tsx b/theme.config.tsx
index bbac8919b..393f35166 100644
--- a/theme.config.tsx
+++ b/theme.config.tsx
@@ -60,9 +60,9 @@ const config: DocsThemeConfig = {
footer: {
text: 'Overextended',
},
- // search: {
- // component: ,
- // },
+ search: {
+ component: ,
+ },
head: useHead,
primaryHue: { dark: 200, light: 200 },
sidebar: {