pymc
pymc copied to clipboard
DOC: fix mobile menu
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.pyto include the CSS and JS viahtml_static_path,html_css_files, andhtml_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, !!