MustBeLogged component + fix sideBar auto open
This commit is contained in:
@@ -4,15 +4,12 @@
|
||||
<Header class="fixed w-full z-50 top-0 p-2"></Header>
|
||||
<div class="flex flex-row relative">
|
||||
<div
|
||||
@mouseenter="openSidebar"
|
||||
class="fixed h-full w-2 z-20"
|
||||
style="background: transparent;"
|
||||
></div>
|
||||
|
||||
<transition name="slide-fade">
|
||||
<div v-show="sideBarStore.visible"
|
||||
@mouseleave="startCloseSidebarTimer"
|
||||
@mouseenter="clearCloseSidebarTimer"
|
||||
class=" fixed h-full min-w-60 border-r-2 bg-white z-30 transition-transform duration-700">
|
||||
<SideBar></SideBar>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user