From bbb6ab43ce15e57ed151dcc228087f2ef78ec0c2 Mon Sep 17 00:00:00 2001 From: mhelf-intel Date: Mon, 29 Dec 2025 15:43:15 +0200 Subject: [PATCH] Fix the mobile navigation bar Signed-off-by: mhelf-intel --- docs/styles/custom.css | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/docs/styles/custom.css b/docs/styles/custom.css index e16e6bbe0..7e789632d 100644 --- a/docs/styles/custom.css +++ b/docs/styles/custom.css @@ -10,8 +10,14 @@ margin-block-end: 0.5em; } -.md-nav--primary .md-nav__title { - display: none; +@media screen and (min-width: 76.25em) { + .md-nav--primary .md-nav__title { + display: none; + } +} + +.md-nav__item--section > .md-nav { + margin-block-start: 0; } .md-sidebar--primary {