diff --git a/frontend/src/components/AppHeader.vue b/frontend/src/components/AppHeader.vue index fab666f..5ce2c85 100644 --- a/frontend/src/components/AppHeader.vue +++ b/frontend/src/components/AppHeader.vue @@ -6,7 +6,7 @@ import { useShortcuts } from "@/composables/useShortcuts"; import { useAuthStore } from "@/stores/auth"; import AppLogo from "@/components/AppLogo.vue"; import NotificationBell from "@/components/NotificationBell.vue"; -import { Sun, Moon, Palette, Settings, Trash2 } from "lucide-vue-next"; +import { Sun, Moon, Settings, Trash2 } from "lucide-vue-next"; const { theme, toggleTheme } = useTheme(); const { toggleShortcuts } = useShortcuts(); @@ -50,6 +50,12 @@ router.afterEach(() => { Projects Snippets Rulebooks + + Design @@ -64,16 +70,6 @@ router.afterEach(() => { - - - - - @@ -106,9 +102,9 @@ router.afterEach(() => { Projects Snippets Rulebooks + Design Shared
- Design Trash Settings
@@ -346,6 +342,22 @@ router.afterEach(() => { margin-top: 0.25rem; } +/* The pill bar is absolutely centred, so when the header runs out of room it + OVERLAPS the brand and the utility cluster rather than pushing them — nothing + wraps, it just collides. Six primary links reach that point sooner than five + did, so reclaim the width here instead of leaving one out of the bar. + The wordmark goes first: the logo beside it says the same thing and is still + the link home. */ +@media (max-width: 1150px) { + .brand-text { + display: none; + } + .nav-link { + padding: 0.3rem 0.5rem; + font-size: 0.78rem; + } +} + @media (max-width: 768px) { .nav-center { display: none;