Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
jdkato committed Dec 24, 2024
1 parent 1055f58 commit bfc6343
Showing 1 changed file with 25 additions and 1 deletion.
26 changes: 25 additions & 1 deletion src/lib/components/DocSearch.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,28 @@
});
</script>

<div id="docsearch"></div>
<div id="docsearch-container">
<div id="docsearch"></div>
</div>

<style>
#docsearch-container {
position: relative;
}
.algolia-autocomplete {
position: absolute !important;
top: 100% !important;
left: 0 !important;
width: 100% !important;
z-index: 1000;
}
.algolia-autocomplete .ds-dropdown-menu {
position: absolute !important;
top: 100% !important;
left: 0 !important;
width: 100% !important;
z-index: 1000;
}
</style>

0 comments on commit bfc6343

Please sign in to comment.