File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -294,6 +294,25 @@ header#title-block-header h1.title {
294294 border-top : 1px solid var (--mc-border );
295295}
296296
297+ // Collapsed (mobile) hamburger menu: lay both link groups out as a compact,
298+ // left-aligned wrapping row instead of a full-width vertical stack, so each link
299+ // hugs its content and the underline/tooltip anchor to the link, not the whole bar.
300+ // Scoped to the navbar-expand-lg collapse breakpoint so the desktop navbar is untouched.
301+ @media (max-width : 991.98px ) {
302+ .navbar .navbar-collapse .navbar-nav {
303+ flex-direction : row ;
304+ flex-wrap : wrap ;
305+ align-items : center ;
306+ gap : 0.25rem ;
307+ width : auto ;
308+
309+ .nav-link {
310+ width : auto ;
311+ padding-inline : 0.6rem ;
312+ }
313+ }
314+ }
315+
297316// ===========================================================================
298317// TOOLTIPS (navbar controls — dark surface in both schemes to match the navbar)
299318// ===========================================================================
You can’t perform that action at this time.
0 commit comments