diff --git a/apps/app/src/layouts/components/AppShell.vue b/apps/app/src/layouts/components/AppShell.vue index 71316717..d1224e95 100644 --- a/apps/app/src/layouts/components/AppShell.vue +++ b/apps/app/src/layouts/components/AppShell.vue @@ -52,6 +52,13 @@ const authStore = useAuthStore() const mobileNavOpen = ref(false) +// Tailwind's lg breakpoint, mirrored in script so Vue can own the +// visibility of PrimeVue elements that would otherwise lose a CSS +// specificity duel to .p-button / .p-drawer / etc. See the wrapper +// `
` around the topbar mobile cluster and the +// `v-if="!isLg"` on the Drawer. +const isLg = useMediaQuery('(min-width: 1024px)') + function isHeading(item: NavItem): item is NavHeading { return 'heading' in item } @@ -143,11 +150,16 @@ function onHelpClick() { - +
- - {{ title }} + +
+ + {{ title }} +