Commit Graph

14 Commits

Author SHA1 Message Date
f3c15e3e1c fix(navigation): unclip dropdowns and flip toward the side with more space
- Move <header> overflow:hidden into body.fullscreen scope and drop the
  implicit-vertical-clip overflow-x:auto from .navbar-nav so dropdown
  menus can escape the navbar.
- Drive top-level dropdowns through bootstrap.Dropdown (popperConfig
  strategy:'fixed'), and add a chooseDirection() helper that toggles
  .dropup/.dropdown on the .nav-item based on space above vs below
  before each show. Split the navigation.css rules to position the menu
  with top:100% or bottom:100% accordingly.
- Mark the dropdown toggle with data-bs-toggle="dropdown" in the
  template; cover that with a Jinja-rendered unit test and add Cypress
  specs for the header (opens downward) and footer (flips to .dropup)
  cases.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-11 02:26:02 +02:00
ae775916b0 Replaced German by English comments 2025-03-18 14:27:07 +01:00
120465b46a Optimized for mobile 2025-01-15 13:47:51 +01:00
69fabafd9a Refactored code and implemented that menüs open to the top 2025-01-15 13:07:02 +01:00
9f143e39b4 Removed link opening bug 2025-01-15 02:19:33 +01:00
c24e35c4e8 final solving of menu hover bug 2025-01-14 21:05:26 +01:00
b74ff2da78 Implemented reinitialisation of event listeners 2025-01-14 20:01:48 +01:00
066f10edfc Solved menu open too top bug 2025-01-14 19:33:13 +01:00
abdaf54147 refaktored 2025-01-14 19:25:07 +01:00
ac0b1e9a14 Refactored code 2025-01-14 19:12:43 +01:00
f9d5a90f94 Optimized menu bug. now distance from main menu to submenu of 1 item exist 2025-01-14 18:47:03 +01:00
00e0096f8a Optimized menu bug 2025-01-14 17:52:31 +01:00
f017cacebe Optimized logic in which direction menus open 2025-01-14 17:34:30 +01:00
7c51ac6bbc Refactored navigation code 2025-01-14 17:19:09 +01:00