From 107416cd7fa37d09c10cf8f78e8373d3038c72ad Mon Sep 17 00:00:00 2001 From: aethrvmn Date: Sun, 10 Nov 2024 22:22:13 +0100 Subject: [PATCH] fix menu layout --- assets/_custom.scss | 17 +++++++++++++++++ layouts/partials/docs/brand.html | 1 + layouts/partials/docs/menu.html | 31 +++++++++++++++++-------------- 3 files changed, 35 insertions(+), 14 deletions(-) diff --git a/assets/_custom.scss b/assets/_custom.scss index 0de9ae1..5b7b73e 100644 --- a/assets/_custom.scss +++ b/assets/_custom.scss @@ -1,3 +1,20 @@ /* You can add custom styles here. */ // @import "plugins/numbered"; +.book-menu-content nav { + display: flex; + flex-direction: column; + height: 99%; +} + +.book-brand { + margin: 0; +} +.book-search { + margin: 0; +} + +.book-menu-mid { + margin-top: -1rem; + flex-grow: 1; +} diff --git a/layouts/partials/docs/brand.html b/layouts/partials/docs/brand.html index f9accb4..4784eb5 100644 --- a/layouts/partials/docs/brand.html +++ b/layouts/partials/docs/brand.html @@ -5,4 +5,5 @@ {{- end -}} {{ .Site.Title }} +
diff --git a/layouts/partials/docs/menu.html b/layouts/partials/docs/menu.html index 67f70eb..2c299d1 100644 --- a/layouts/partials/docs/menu.html +++ b/layouts/partials/docs/menu.html @@ -1,21 +1,24 @@