From f449b78f6459e3cf002fad6a666360f4cdb7d9e6 Mon Sep 17 00:00:00 2001 From: jirikrepl Date: Tue, 14 Jan 2020 12:43:29 +0100 Subject: [PATCH] refactor: search field is moved to the top menu because results from algolia dropdown were cropped in sidebar (by sidebar's width) --- themes/doc-theme/layouts/partials/menu.html | 13 ------------- themes/doc-theme/layouts/partials/toolbar.html | 9 +++++++++ 2 files changed, 9 insertions(+), 13 deletions(-) diff --git a/themes/doc-theme/layouts/partials/menu.html b/themes/doc-theme/layouts/partials/menu.html index 8addc5f..15758f3 100644 --- a/themes/doc-theme/layouts/partials/menu.html +++ b/themes/doc-theme/layouts/partials/menu.html @@ -6,19 +6,6 @@ style="overflow-y: hidden; overflow-x: hidden;margin-top:70px;" > - - - - - -
diff --git a/themes/doc-theme/layouts/partials/toolbar.html b/themes/doc-theme/layouts/partials/toolbar.html index 83dbbd3..80c2101 100644 --- a/themes/doc-theme/layouts/partials/toolbar.html +++ b/themes/doc-theme/layouts/partials/toolbar.html @@ -17,6 +17,15 @@ {{ .Page.Title }} + {{ if eq .Section "firmwareapi"}}