Skip to content

Commit

Permalink
Website: update mobile nav scrolling. (#26332)
Browse files Browse the repository at this point in the history
Closes: fleetdm/confidential#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.
  • Loading branch information
eashaw authored Feb 13, 2025
1 parent 10f44cf commit 4bc30f6
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions website/assets/styles/layout.less
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -779,7 +780,7 @@ body.detected-mobile {
padding: 19px 20px;
}
[purpose='mobile-nav-container'] {
padding: 8px 24px 0px 24px;
padding: 8px 24px 24px 24px;
}
}
}
Expand Down Expand Up @@ -814,7 +815,7 @@ body.detected-mobile {
padding: 19px 16px;
}
[purpose='mobile-nav-container'] {
padding: 8px 16px 0px 16px;
padding: 8px 16px 24px 16px;
}
}
}
Expand Down

0 comments on commit 4bc30f6

Please sign in to comment.