mirror of
https://github.com/rommapp/romm.git
synced 2026-11-30 18:42:34 +01:00
refactor navigation drawers for improved styling and z-index adjustments
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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 -->
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user