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.
This commit is contained in:
Eric 2025-02-13 14:07:57 -06:00 committed by GitHub
parent 10f44cffa3
commit 4bc30f6d1f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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;
}
}
}