From bc6b17e80b84e4090dd659753d78ec1ef186d2dc Mon Sep 17 00:00:00 2001 From: Niels Lange Date: Mon, 4 Apr 2022 11:58:02 +0200 Subject: [PATCH 1/2] Add support for sub menu description --- assets/css/base/_layout.scss | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/assets/css/base/_layout.scss b/assets/css/base/_layout.scss index bc802c4e7..e89059628 100644 --- a/assets/css/base/_layout.scss +++ b/assets/css/base/_layout.scss @@ -630,8 +630,13 @@ text-decoration: none; } - ul { + .menu-item-description { + font-size: ms(-1); + opacity: 0.67; + margin: 1em 0 0; + } + ul { a { padding: 0.326em ms(-1); background: rgba(#000, 0.05); From 21e61deb23b40310e5f92ad291b547f70b4030c6 Mon Sep 17 00:00:00 2001 From: Niels Lange Date: Mon, 4 Apr 2022 12:24:27 +0200 Subject: [PATCH 2/2] Adjust vertical alignment for submenu items --- assets/css/base/_layout.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/assets/css/base/_layout.scss b/assets/css/base/_layout.scss index e89059628..70bc1ee7f 100644 --- a/assets/css/base/_layout.scss +++ b/assets/css/base/_layout.scss @@ -448,6 +448,7 @@ position: relative; display: inline-block; text-align: left; + vertical-align: text-top; a { display: block;