diff --git a/src/layouts/Base.astro b/src/layouts/Base.astro index 31b9641..0e2cf08 100644 --- a/src/layouts/Base.astro +++ b/src/layouts/Base.astro @@ -393,9 +393,9 @@ const isHome = currentPath === '/'; .d-menu { display: flex; flex-wrap: nowrap; list-style: none; margin: 0; padding: 0; overflow: hidden; flex: 1; } .d-menu li { float: none; flex-shrink: 0; } .d-menu .menu-item { font-size: 12px; padding: 4px 8px; } - /* Hide items that don't fit — show first 4 (Home, Products, Purchase, Support) */ - .d-menu li:nth-child(n+5) { display: none; } - .d-menu.open li:nth-child(n+5) { display: block; } + /* Hide items that don't fit — show first 3 (Home, Products, Purchase) */ + .d-menu li:nth-child(n+4) { display: none; } + .d-menu.open li:nth-child(n+4) { display: block; } /* Hamburger button */ .hamburger { display: flex; cursor: pointer; padding: 8px; z-index: 101; flex-shrink: 0; } .hamburger span { display: block; width: 18px; height: 2px; background: #bb983b; margin: 3px 0; }