Skip to content

Commit 4f59358

Browse files
fix: increase z-index for header and sidebar components
1 parent dc7c538 commit 4f59358

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

adminforth/spa/src/App.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<div>
33
<nav
44
v-if="loggedIn && routerIsReady && loginRedirectCheckIsReady && defaultLayout"
5-
class="fixed h-14 top-0 z-20 w-full border-b shadow-sm bg-lightNavbar shadow-headerShadow dark:bg-darkNavbar dark:border-darkSidebarDevider"
5+
class="fixed h-14 top-0 z-30 w-full border-b shadow-sm bg-lightNavbar shadow-headerShadow dark:bg-darkNavbar dark:border-darkSidebarDevider"
66
>
77
<div class="af-header px-3 lg:px-5 lg:pl-3 flex items-center justify-between h-full w-full" >
88
<div class="flex items-center justify-start rtl:justify-end">

adminforth/spa/src/components/Sidebar.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
@mouseover="!isTogglingSidebar && (isSidebarHovering = true)"
55
@mouseleave="!isTogglingSidebar && (isSidebarHovering = false)"
66
id="logo-lightSidebar"
7-
class="sidebar-container fixed border-none top-0 left-0 z-30 h-screen transition-all duration-300 ease-in-out bg-lightSidebar dark:bg-darkSidebar border-r border-lightSidebarBorder sm:translate-x-0 dark:border-darkSidebarBorder"
7+
class="sidebar-container fixed border-none top-0 left-0 z-40 h-screen transition-all duration-300 ease-in-out bg-lightSidebar dark:bg-darkSidebar border-r border-lightSidebarBorder sm:translate-x-0 dark:border-darkSidebarBorder"
88
:class="{
99
'-translate-x-full': !sideBarOpen,
1010
'transform-none': sideBarOpen,

0 commit comments

Comments
 (0)