From 1f63985a8295a361037024c284d78c005bc17aee Mon Sep 17 00:00:00 2001 From: Blai Peidro Date: Thu, 3 Dec 2026 00:40:17 +0100 Subject: [PATCH] fix: a menu group's sections indented under its heading, their pages under them --- source/_sass/custom/custom.scss | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/source/_sass/custom/custom.scss b/source/_sass/custom/custom.scss index b318c6c0..5e6504fc 100644 --- a/source/_sass/custom/custom.scss +++ b/source/_sass/custom/custom.scss @@ -322,7 +322,8 @@ body::before { color: $body-heading-color; font-weight: 500; margin-left: 0.5rem; - padding-left: calc(1.25rem + 4px); + // in line with the group heading's words, past its icon (1.1rem and its 0.5rem gap) + padding-left: calc(1.25rem + 4px + 1.6rem); &:hover, &.active { @@ -337,6 +338,11 @@ body::before { > .nav-list-item > .nav-list-expander { color: $af-muted; } + + // a section's own pages : their guide line moved in as far as the section's name + > .nav-list-item > .nav-list { + margin-left: calc(2rem + 1.6rem); + } } }