Skip to content

Commit

Permalink
Merge pull request #1994 from OctopusDeploy/sf/navigation-fix
Browse files Browse the repository at this point in the history
Fixes edge case for navigation on mobile
  • Loading branch information
steve-fenton-octopus authored Sep 6, 2023
2 parents ad6f794 + b6edf9e commit 527a759
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"dependencies": {
"@astrojs/mdx": "^1.0.0",
"astro": "^3.0.3",
"astro-accelerator": "^0.3.9",
"astro-accelerator": "^0.3.10",
"astro-accelerator-utils": "^0.3.0",
"hast-util-from-selector": "^3.0.0",
"remark-directive": "^2.0.1",
Expand Down
8 changes: 4 additions & 4 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion public/docs/js/modules/nav-mobile.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ function addMobileNav(resizedEventName) {

function closeMobileMenu() {
const menuElement = qs('#' + navigationSelector);
menuElement.style.display = 'block';
menuElement.style.display = '';
document.body.style.overflow = 'auto';
document.documentElement.style.paddingInlineEnd = '0';

Expand Down

0 comments on commit 527a759

Please sign in to comment.