4 Commits

Author SHA1 Message Date
hiep200311 870755b570 fix: sidebar không hoạt động khi click nút menu trên mobile
Lỗi: sidebar.js dùng DOMContentLoaded nhưng script được load động sau khi
sự kiện này đã kích hoạt → initSidebar() không bao giờ chạy → nút menu
không có event listener → click không phản hồi.

Sửa: gọi initSidebar() trực tiếp thay vì bọc trong DOMContentLoaded.
2026-06-05 21:27:02 +07:00
hiep200311 d198ca2ca0 Revert "fix: expand sidebar visibility to all non-desktop screens (≤992px)"
This reverts commit b999d51232.
2026-06-05 21:08:21 +07:00
hiep200311 b999d51232 fix: expand sidebar visibility to all non-desktop screens (≤992px)
- sidebar.css: change .floating-menu-btn breakpoint from max-width:768px
  to max-width:992px so the button appears on tablets as well
- header.css: move .nav-container hide + .floating-menu-btn show into
  the ≤992px block so desktop nav is hidden and sidebar activates on
  all mobile + tablet viewports (Bootstrap lg breakpoint)
- ≥993px (desktop): header nav visible, sidebar hidden
- ≤992px (tablet + mobile): header nav hidden, sidebar floating button shown"
2026-06-05 21:06:08 +07:00
hiep200311 3c4385777c Refactor: Extract sidebar into a reusable component 2026-06-04 08:38:42 +07:00