From 4bc30f6d1fb29f811f52c93ba649e535dc554172 Mon Sep 17 00:00:00 2001 From: Eric Date: Thu, 13 Feb 2025 14:07:57 -0600 Subject: [PATCH] Website: update mobile nav scrolling. (#26332) Closes: https://github.com/fleetdm/confidential/issues/9631 Changes: - Updated styles for the website's mobile navigation menu to fix an issue that prevented users from scrolling the menu while the "docs" menu item was expanded. --- website/assets/styles/layout.less | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/website/assets/styles/layout.less b/website/assets/styles/layout.less index 4d8a9a21a273..ceb3f743813d 100644 --- a/website/assets/styles/layout.less +++ b/website/assets/styles/layout.less @@ -295,7 +295,8 @@ html, body { } [purpose='mobile-nav'] { position: fixed; - min-height: 100vh; + max-height: 100vh; + overflow: scroll; top: 0; left: 0; right: 0; @@ -779,7 +780,7 @@ body.detected-mobile { padding: 19px 20px; } [purpose='mobile-nav-container'] { - padding: 8px 24px 0px 24px; + padding: 8px 24px 24px 24px; } } } @@ -814,7 +815,7 @@ body.detected-mobile { padding: 19px 16px; } [purpose='mobile-nav-container'] { - padding: 8px 16px 0px 16px; + padding: 8px 16px 24px 16px; } } }