From 985e37e5eba81fddbe0cf011f7b8d692b1bbf172 Mon Sep 17 00:00:00 2001 From: unimatrixgit <95320811+unimatrixgit@users.noreply.github.com> Date: Wed, 2 Dec 2026 13:10:29 +0100 Subject: [PATCH] Center desktop navigation and account controls --- website/web/realm-design.css | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/website/web/realm-design.css b/website/web/realm-design.css index 3450a0ef..a1d7b7a3 100644 --- a/website/web/realm-design.css +++ b/website/web/realm-design.css @@ -176,3 +176,9 @@ body.dr-design header.dune-site-header nav>.dr-account-menu{margin-left:auto} body.dr-design header.dune-site-header nav>.dr-account-menu>summary>img{display:block!important} body.dr-design header.dune-site-header .wordmark{display:block!important;line-height:0!important} body.dr-design header.dune-site-header nav[aria-label='Main navigation']>.dr-account-menu>summary>img{display:block!important} +/* Keep the desktop menu and account controls together in the centre of the masthead. */ +@media(min-width:1241px){ + .dr-header-bar{justify-content:center} + body.dr-design header.dune-site-header nav[aria-label='Main navigation']{flex:0 1 auto!important;margin-inline:0!important} + body.dr-design header.dune-site-header nav>.dr-account-menu{margin-left:12px} +} -- 2.53.0