]> danix's work - danix.xyz-2.git/commit
fix: hamburger menu click handler and horizontal scroll issues
authorDanilo M. <redacted>
Thu, 16 Apr 2026 13:51:55 +0000 (15:51 +0200)
committerDanilo M. <redacted>
Thu, 16 Apr 2026 13:51:55 +0000 (15:51 +0200)
commita614ed818b7d435546bb86a887f97de53f019af1
treec9ec669afca70a101d484de24deeef7cc6206fd3
parentf77e36d9f0eb4405db46a7972738773802a8d646
fix: hamburger menu click handler and horizontal scroll issues

- Improve hamburger menu JS with better error handling and console warnings
- Add preventDefault() to button click handlers for reliability
- Handle document ready state check (in case script runs before DOMContentLoaded)
- Add overflow-x-hidden to html and body to prevent horizontal scrolling on mobile
- Rebuild CSS: main.min.css updated

Co-Authored-By: Claude Haiku 4.5 <redacted>
themes/danix-xyz-hacker/assets/css/main.css
themes/danix-xyz-hacker/assets/css/main.min.css
themes/danix-xyz-hacker/layouts/partials/hamburger-menu.html