From 993e2eef7cb951f30e6e1b9e476bc23592cfc00f Mon Sep 17 00:00:00 2001 From: zurdi Date: Mon, 31 Mar 2025 12:28:36 +0000 Subject: [PATCH] refactor navigation drawers for improved styling and z-index adjustments --- .../components/common/Navigation/CollectionsDrawer.vue | 3 ++- frontend/src/components/common/Navigation/MainAppBar.vue | 8 ++++---- .../src/components/common/Navigation/PlatformsDrawer.vue | 3 ++- .../src/components/common/Navigation/SettingsDrawer.vue | 8 +++++++- 4 files changed, 15 insertions(+), 7 deletions(-) diff --git a/frontend/src/components/common/Navigation/CollectionsDrawer.vue b/frontend/src/components/common/Navigation/CollectionsDrawer.vue index 9215be9e0..78d581e3d 100644 --- a/frontend/src/components/common/Navigation/CollectionsDrawer.vue +++ b/frontend/src/components/common/Navigation/CollectionsDrawer.vue @@ -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(() => { diff --git a/frontend/src/components/common/Navigation/MainAppBar.vue b/frontend/src/components/common/Navigation/MainAppBar.vue index ccf30eec2..8dddc7266 100644 --- a/frontend/src/components/common/Navigation/MainAppBar.vue +++ b/frontend/src/components/common/Navigation/MainAppBar.vue @@ -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 > - + - - + + diff --git a/frontend/src/components/common/Navigation/PlatformsDrawer.vue b/frontend/src/components/common/Navigation/PlatformsDrawer.vue index 98e9206f8..47d895864 100644 --- a/frontend/src/components/common/Navigation/PlatformsDrawer.vue +++ b/frontend/src/components/common/Navigation/PlatformsDrawer.vue @@ -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() { diff --git a/frontend/src/components/common/Navigation/SettingsDrawer.vue b/frontend/src/components/common/Navigation/SettingsDrawer.vue index 74966cc16..558e92fac 100644 --- a/frontend/src/components/common/Navigation/SettingsDrawer.vue +++ b/frontend/src/components/common/Navigation/SettingsDrawer.vue @@ -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() { +