From 8cdcac5caa6a8c77935b312fb4797b2b47bea653 Mon Sep 17 00:00:00 2001 From: Cagatay Civici Date: Sat, 4 Mar 2023 20:18:40 +0300 Subject: [PATCH] Add docsearch --- app.vue | 1 + assets/styles/layout/_responsive.scss | 7 +- layouts/AppTopBar.vue | 12 +- package-lock.json | 391 +++++++++++++++++++++++++- package.json | 7 +- 5 files changed, 410 insertions(+), 8 deletions(-) diff --git a/app.vue b/app.vue index 3bf06b61d..8949e00b2 100644 --- a/app.vue +++ b/app.vue @@ -63,6 +63,7 @@ export default { diff --git a/assets/styles/layout/_responsive.scss b/assets/styles/layout/_responsive.scss index 03c9dfa92..f00f628ca 100644 --- a/assets/styles/layout/_responsive.scss +++ b/assets/styles/layout/_responsive.scss @@ -20,9 +20,12 @@ display: flex; } - .DocSearch-Button { - margin-right: 0; + #docsearch { margin-left: auto; + margin-right: .5rem; + } + + .DocSearch-Button { width: 2rem; height: 2rem; overflow: hidden; diff --git a/layouts/AppTopBar.vue b/layouts/AppTopBar.vue index 5dea3f543..aaf39cb3f 100755 --- a/layouts/AppTopBar.vue +++ b/layouts/AppTopBar.vue @@ -5,7 +5,9 @@ -