@@ -51,11 +51,17 @@ onUnmounted(() => {
51
51
</script >
52
52
53
53
<template >
54
- <div class =" dashboard flex flex-col lg:flex-row h-screen w-screen min-h-0 min-w-0 overflow-hidden border-t border-layer" >
55
- <Gutter :show =" isPrimaryGutterShowing" :size =" 256" class =" hidden lg:flex" >
54
+ <div class =" dashboard flex flex-col lg:flex-row h-screen w-screen min-h-0 min-w-0 overflow-hidden" >
55
+ <Gutter
56
+ :show =" isPrimaryGutterShowing"
57
+ :size =" 256"
58
+ class =" hidden lg:flex"
59
+ >
56
60
<TheLeftSidebar class =" flex flex-grow flex-shrink overflow-hidden w-full" />
57
61
</Gutter >
58
- <FlexDivider class =" hidden lg:block" />
62
+ <Transition name =" divider" >
63
+ <FlexDivider v-show =" isPrimaryGutterShowing" class =" hidden lg:block" />
64
+ </Transition >
59
65
<CoreLayer class =" bg-layer basis-full flex flex-col flex-grow flex-shrink min-h-0" >
60
66
<div class =" flex p-1 items-center" >
61
67
<div class =" flex gap-1 flex-row-reverse lg:flex-row items-center basis-full justify-start" >
@@ -120,8 +126,14 @@ onUnmounted(() => {
120
126
</section >
121
127
</div >
122
128
</CoreLayer >
123
- <FlexDivider class =" hidden lg:block" />
124
- <Gutter :show =" isSecondaryGutterShowing" :size =" 256" class =" hidden lg:flex justify-end flex-nowrap" >
129
+ <Transition name =" divider" >
130
+ <FlexDivider v-show =" isSecondaryGutterShowing" class =" hidden lg:block" />
131
+ </Transition >
132
+ <Gutter
133
+ :show =" isSecondaryGutterShowing"
134
+ :size =" 256"
135
+ class =" hidden lg:flex justify-end flex-nowrap"
136
+ >
125
137
<TheRightSidebar class =" hidden lg:flex flex-grow flex-shrink-0 w-full" />
126
138
</Gutter >
127
139
<ToastList class =" fixed bottom-8 right-8 m-auto" />
@@ -132,4 +144,9 @@ onUnmounted(() => {
132
144
.dashboard {
133
145
height : var (--app-height , 100vh );
134
146
}
147
+
148
+ .divider-enter-active ,
149
+ .divider-leave-active {
150
+ transition : all 0.3s cubic-bezier (0.165 , 0.84 , 0.44 , 1 );
151
+ }
135
152
</style >
0 commit comments