From 5b0360b517a92b9eb79222fffdae0e07b5e4607f Mon Sep 17 00:00:00 2001 From: Eric Date: Thu, 25 Jan 2024 11:02:14 -0600 Subject: [PATCH] Website: Update website navigation labels (#16337) Changes: - Added an "Articles" label to the community dropdown in the website's navigation menu (Mobile and desktop) - Updated the `z-index` value of the mobile navigation menu to prevent the website's footer fro being visible when the menu is open on small pages. --- website/assets/styles/bootstrap-overrides.less | 2 +- website/assets/styles/layout.less | 2 +- website/views/layouts/layout-sandbox.ejs | 12 +++++++----- website/views/layouts/layout.ejs | 12 +++++++----- 4 files changed, 16 insertions(+), 12 deletions(-) diff --git a/website/assets/styles/bootstrap-overrides.less b/website/assets/styles/bootstrap-overrides.less index 7cfced7878..c950c0c8e1 100644 --- a/website/assets/styles/bootstrap-overrides.less +++ b/website/assets/styles/bootstrap-overrides.less @@ -251,7 +251,7 @@ a.text-danger:hover, a.text-danger:focus { .collapse.show { opacity: 1; pointer-events: auto; - z-index: 3; + z-index: 300; overflow-y: auto; } .collapse { diff --git a/website/assets/styles/layout.less b/website/assets/styles/layout.less index ed5d60a1e8..701460d906 100644 --- a/website/assets/styles/layout.less +++ b/website/assets/styles/layout.less @@ -325,7 +325,7 @@ html, body { padding-top: 40px; max-width: 1248px; position: relative; - z-index: 9999; + z-index: 198; } [purpose='footer-nav'] { display: flex; diff --git a/website/views/layouts/layout-sandbox.ejs b/website/views/layouts/layout-sandbox.ejs index 3070902481..2c9ec12442 100644 --- a/website/views/layouts/layout-sandbox.ejs +++ b/website/views/layouts/layout-sandbox.ejs @@ -183,11 +183,12 @@
- Announcements - Security - Engineering - Podcasts - Reports + ARTICLES + Announcements + Security + Engineering + Podcasts + Reports CONTRIBUTE Join the conversation Contribute to Fleet @@ -233,6 +234,7 @@
Community