fix(navbar): align mobile sidebar ordering and labels with menu.main (#883)

* fix(navbar): navbar on small screen now follow menu.main from hugo.yaml

* fix(navbar): align mobile sidebar with menu.main order and labels

* refactor(sidebar): simplify mobile menu item selection logic

* fix(sidebar): avoid empty nested containers in mobile nav tree

* fix(sidebar): align nested chevrons with top-level items

* chore(css): update compiled CSS

---------

Co-authored-by: Xin <5097752+imfing@users.noreply.github.com>
Co-authored-by: Xin <xin@imfing.com>
This commit is contained in:
Antonin P
2026-02-20 00:34:06 +01:00
committed by GitHub
parent 9b2809eb24
commit 55659bb9c1
3 changed files with 28 additions and 6 deletions

2
docs/hugo_stats.json generated
View File

@@ -481,6 +481,7 @@
"hx:ltr:pl-5",
"hx:ltr:pl-6",
"hx:ltr:pl-8",
"hx:ltr:pr-0",
"hx:ltr:pr-1",
"hx:ltr:pr-2",
"hx:ltr:pr-4",
@@ -639,6 +640,7 @@
"hx:rtl:mr-1",
"hx:rtl:mr-3",
"hx:rtl:mr-auto",
"hx:rtl:pl-0",
"hx:rtl:pl-1",
"hx:rtl:pl-2",
"hx:rtl:pl-4",