mirror of
https://github.com/photoprism/photoprism.git
synced 2026-07-17 16:49:04 +00:00
Navigation: Lift the avatar menu above the navigation drawer
This commit is contained in:
parent
92fc028d06
commit
e7db85a438
2 changed files with 9 additions and 0 deletions
|
|
@ -4,6 +4,7 @@
|
|||
location="top"
|
||||
offset="6"
|
||||
:min-width="240"
|
||||
:z-index="2400"
|
||||
class="nav-user-menu"
|
||||
@update:model-value="onToggle"
|
||||
>
|
||||
|
|
|
|||
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue