pymc icon indicating copy to clipboard operation
pymc copied to clipboard

DOC: fix mobile menu

Open immortal71 opened this issue 3 weeks ago • 0 comments

This PR adds a small documentation-only fix to make the site navigation responsive on mobile (especially iOS/Safari).

What I changed

  • Added docs/source/_static/js/mobile-menu-fix.js -- a small touchstart --> click bridge for mobile menu toggles.
  • Added docs/source/_static/css/mobile-menu-fix.css -- z-index and pointer-events overrides to ensure the nav overlay and toggles are clickable on iOS.
  • Updated docs/source/conf.py to include the CSS and JS via html_static_path, html_css_files, and html_js_files.

Why

  • Users reported the hamburger menu and main header being non-responsive on mobile Safari (issue #7936). The changes are minimal and non-invasive; they override behavior via docs static assets rather than editing installed theme packages.

well ,I have check it it seems fine, (Sry for pr issue i am not good at writing pr had to use some tools but no use, peace !!) hope this pr will be fine, !!

immortal71 avatar Nov 20 '25 06:11 immortal71