refactor navigation drawers for improved styling and z-index adjustments

This commit is contained in:
zurdi
2025-03-31 12:28:36 +00:00
parent 71f4fb0bb1
commit 993e2eef7c
4 changed files with 15 additions and 7 deletions

View File

@@ -80,7 +80,7 @@ onBeforeUnmount(() => {
'drawer-mobile': smAndDown,
}"
class="bg-surface pa-1"
:style="mdAndUp ? 'height: unset' : 'width: calc(100% - 16px) !important;'"
:style="mdAndUp ? 'height: unset' : ''"
rounded
:border="0"
>
@@ -140,5 +140,6 @@ onBeforeUnmount(() => {
<style scoped>
.drawer-mobile {
width: calc(100% - 16px) !important;
z-index: 1011 !important;
}
</style>

View File

@@ -32,16 +32,16 @@ function collapse() {
v-if="smAndDown"
elevation="0"
floating
style="z-index: 9999 !important"
class="bg-background align-center justify-center"
grow
>
<home-btn value="home" class="mt-3 mx-4" />
<home-btn value="home" class="mt-3 mx-2" />
<search-btn withTag />
<platforms-btn withTag />
<collections-btn withTag />
<!-- <upload-btn withTag /> -->
<!-- <scan-btn withTag /> -->
<user-btn class="mt-3 mx-4" />
<scan-btn withTag />
<user-btn class="mt-3 mx-2" />
</v-bottom-navigation>
<!-- Desktop app bar -->

View File

@@ -31,7 +31,7 @@ function clear() {
'drawer-mobile': smAndDown,
}"
class="bg-surface pa-1"
:style="mdAndUp ? 'height: unset' : 'width: calc(100% - 16px) !important;'"
:style="mdAndUp ? 'height: unset' : ''"
rounded
:border="0"
>
@@ -61,5 +61,6 @@ function clear() {
<style scoped>
.drawer-mobile {
width: calc(100% - 16px) !important;
z-index: 1011 !important;
}
</style>

View File

@@ -59,7 +59,7 @@ async function logout() {
'drawer-mobile': smAndDown,
}"
class="bg-surface pa-1"
:style="mdAndUp ? 'height: unset' : 'width: calc(100% - 16px) !important;'"
:style="mdAndUp ? 'height: unset' : ''"
rounded
:border="0"
>
@@ -126,3 +126,9 @@ async function logout() {
</template>
</v-navigation-drawer>
</template>
<style scoped>
.drawer-mobile {
width: calc(100% - 16px) !important;
z-index: 1011 !important;
}
</style>