fix: left drawer z-index

This commit is contained in:
puriphatt 2024-07-02 10:20:14 +00:00
parent 2c80dfdd3a
commit 2d82690b5c
2 changed files with 5 additions and 2 deletions

View file

@ -159,6 +159,6 @@ function navigateTo(label: string, destination: string) {
} }
:deep(.q-drawer) { :deep(.q-drawer) {
z-index: 5 !important; z-index: 9999 !important;
} }
</style> </style>

View file

@ -173,7 +173,10 @@ onMounted(async () => {
<q-page-container class="surface-1 q-pa-md"> <q-page-container class="surface-1 q-pa-md">
<!-- drawer control --> <!-- drawer control -->
<div style="position: relative; z-index: 10"> <div
style="position: relative"
:style="$q.screen.gt.xs ? 'z-index: 9999' : 'z-index: 9998'"
>
<q-avatar <q-avatar
size="36px" size="36px"
style=" style="