From 89cf5f4a883f648b95f41e7866f8191ee5cdbfb2 Mon Sep 17 00:00:00 2001 From: Pablo Vazquez Date: Wed, 8 Feb 2023 20:18:28 +0100 Subject: [PATCH] Navbar: Limit width to match other dev sites --- templates/custom/body_inner_pre.tmpl | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/templates/custom/body_inner_pre.tmpl b/templates/custom/body_inner_pre.tmpl index 23a02e9..c48d7bf 100644 --- a/templates/custom/body_inner_pre.tmpl +++ b/templates/custom/body_inner_pre.tmpl @@ -443,6 +443,17 @@ .navbardev-container a.navbardev-logo svg { top: 1px; } + + @media (min-width: 1200px) { + /* Limit navbar width on large screens. */ + .navbardev .navbardev-container, + .full.height > .menu.bar > [role="navigation"], + [role="main"] > .dashboard-navbar { + margin-left: auto; + margin-right: auto; + max-width: 1170px; + } + }