From 37c5689f7d054f27b6905f672ab778f6ddc8e2cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=98=99=E2=97=A6=20The=20Tablet=20=E2=9D=80=20GamerGirla?= =?UTF-8?q?ndCo=20=E2=97=A6=E2=9D=A7?= <i.am.the.tablet@proton.me> Date: Tue, 12 Nov 2024 17:07:57 -0500 Subject: [PATCH] fix(components): user profile fix ensure that sidebar border goes underneath the profile administrator badge --- layouts/default.vue | 3 +-- pages/user/[id].vue | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/layouts/default.vue b/layouts/default.vue index b8690b6..3310a9c 100644 --- a/layouts/default.vue +++ b/layouts/default.vue @@ -71,7 +71,6 @@ <a-layout-sider :trigger="null" :theme="darkBool ? 'dark' : 'light'" - :collapsed="nav" :collapsed-width="0" :collapsible="true" v-model:collapsed="collapsed" @@ -92,7 +91,7 @@ color: 'white', border: '2.4px solid #fffFFF80', top: '75vh', - 'z-index': 99999999, + 'z-index': 9, }" :theme="darko ? 'dark' : 'light'" :breakpoint="'lg'" diff --git a/pages/user/[id].vue b/pages/user/[id].vue index 91783e7..8a944e1 100644 --- a/pages/user/[id].vue +++ b/pages/user/[id].vue @@ -37,7 +37,7 @@ </template> </a-card-meta> </div> - <a-badge-ribbon color="#f14668" v-if="userInfo?.profile.isAdmin"> + <a-badge-ribbon style="z-index: 20" color="#f14668" v-if="userInfo?.profile.isAdmin"> <template #text> Administrator </template> </a-badge-ribbon> </template>