docs: fix layout shift in search page

pull/2224/head
Divyansh Singh 2 years ago
parent 713a35cbd0
commit 50697ebfba

@ -144,3 +144,10 @@ export default defineConfig({
```
[These options](https://github.com/vuejs/vitepress/blob/main/types/docsearch.d.ts) can be overridden. Refer official Algolia docs to learn more about them.
<style>
img[src="/search.png"] {
width: 100%;
aspect-ratio: 1 / 1;
}
</style>

Loading…
Cancel
Save