Navigation: Lift the avatar menu above the navigation drawer

This commit is contained in:
Michael Mayer 2026-06-03 20:00:41 +00:00
parent 92fc028d06
commit e7db85a438
2 changed files with 9 additions and 0 deletions

View file

@ -4,6 +4,7 @@
location="top"
offset="6"
:min-width="240"
:z-index="2400"
class="nav-user-menu"
@update:model-value="onToggle"
>

View file

@ -5,6 +5,14 @@
user-select: none;
}
/* The avatar menu / instance switcher (PUserMenu) is teleported to
.v-overlay-container, where its stack z-index can land below the navigation
drawer (z-index ~1004) and be covered by it. Keep the overlay above the
drawer so the menu stays usable in both the Portal and instance navigation. */
.v-overlay.nav-user-menu {
z-index: 2400 !important;
}
#p-navigation ::-webkit-scrollbar {
/* Hides scrollbar in sidebar navigation to save space */
/* see https://css-tricks.com/custom-scrollbars-in-webkit/#aa-the-different-pieces */