From 9eae45125d2136022d34f2f5acfc067c89d87877 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1rton=20Lente?= Date: Mon, 3 Feb 2025 17:45:15 +0100 Subject: [PATCH] UI: Upgrade nav-global to web-assets v2 component (#9) This pull request upgrades navigation global's markup and styles to Web Assets v2 pre-compiled _nav-global_ component, to improve visual consistency with other sites. The Web Assets v2 _nav-global_ component brings UI fixes, spacing improvements and variable naming changes and cleanup to the navigation bar. Co-authored-by: Pablo Vazquez Co-authored-by: Thomas Dinges Co-authored-by: Bastien Montagne Reviewed-on: https://projects.blender.org/infrastructure/gitea-custom/pulls/9 --- templates/custom/body_inner_pre.tmpl | 575 +++++++++++++++------------ 1 file changed, 327 insertions(+), 248 deletions(-) diff --git a/templates/custom/body_inner_pre.tmpl b/templates/custom/body_inner_pre.tmpl index 72a079c..b938334 100644 --- a/templates/custom/body_inner_pre.tmpl +++ b/templates/custom/body_inner_pre.tmpl @@ -1,47 +1,49 @@ + + .nav-global .nav-global-nav-links li { + align-items: center; + display: flex; + margin-bottom: var(--bwa-spacer-1); + width: 100%; + } - - @@ -674,58 +723,88 @@ + +