File tree 4 files changed +72
-70
lines changed
4 files changed +72
-70
lines changed Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ declare global {
31
31
const createInjectionState : typeof import ( '@vueuse/core' ) [ 'createInjectionState' ]
32
32
const createPinia : typeof import ( 'pinia' ) [ 'createPinia' ]
33
33
const createReactiveFn : typeof import ( '@vueuse/core' ) [ 'createReactiveFn' ]
34
+ const createRef : typeof import ( '@vueuse/core' ) [ 'createRef' ]
34
35
const createReusableTemplate : typeof import ( '@vueuse/core' ) [ 'createReusableTemplate' ]
35
36
const createSharedComposable : typeof import ( '@vueuse/core' ) [ 'createSharedComposable' ]
36
37
const createTemplatePromise : typeof import ( '@vueuse/core' ) [ 'createTemplatePromise' ]
@@ -421,6 +422,7 @@ declare module 'vue' {
421
422
readonly createInjectionState : UnwrapRef < typeof import ( '@vueuse/core' ) [ 'createInjectionState' ] >
422
423
readonly createPinia : UnwrapRef < typeof import ( 'pinia' ) [ 'createPinia' ] >
423
424
readonly createReactiveFn : UnwrapRef < typeof import ( '@vueuse/core' ) [ 'createReactiveFn' ] >
425
+ readonly createRef : UnwrapRef < typeof import ( '@vueuse/core' ) [ 'createRef' ] >
424
426
readonly createReusableTemplate : UnwrapRef < typeof import ( '@vueuse/core' ) [ 'createReusableTemplate' ] >
425
427
readonly createSharedComposable : UnwrapRef < typeof import ( '@vueuse/core' ) [ 'createSharedComposable' ] >
426
428
readonly createTemplatePromise : UnwrapRef < typeof import ( '@vueuse/core' ) [ 'createTemplatePromise' ] >
Original file line number Diff line number Diff line change 5
5
<Pane min-size =" 10" :size =" menuWidth" v-if =" !isMobile && !collapseNav && !forceMenuHidden" >
6
6
<SidePanel @search =" showFuzzySearch" />
7
7
</Pane >
8
- <Pane min-size =" 10" >
8
+ <Pane min-size =" 10" :size = " 100 - menuWidth " >
9
9
<Splitpanes >
10
10
<Pane class =" router-view min-h-screen" >
11
11
<router-view ></router-view >
@@ -91,9 +91,9 @@ function showFuzzySearch() {
91
91
open .value = true ;
92
92
}
93
93
94
- function onResized(e : any ) {
95
- if (e . length == 2 ) {
96
- menuWidth .value = e [0 ].size ;
94
+ function onResized({ panes } : { panes : { size : number }[] } ) {
95
+ if (panes ) {
96
+ menuWidth .value = panes [0 ].size ;
97
97
}
98
98
}
99
99
</script >
@@ -102,7 +102,7 @@ function onResized(e: any) {
102
102
@import " @/main.css" reference;
103
103
104
104
:deep(.splitpanes--vertical > .splitpanes__splitter ) {
105
- @apply bg-base- 100 hover :bg-secondary min-w-[3 px ];
105
+ @apply bg-base- 100 hover :bg-secondary min-w-[5 px ];
106
106
}
107
107
108
108
@media screen and (max-width : 768px ) {
Original file line number Diff line number Diff line change 60
60
"lodash.debounce" : " ^4.0.8" ,
61
61
"pinia" : " ^3.0.1" ,
62
62
"sortablejs" : " ^1.15.6" ,
63
- "splitpanes" : " ^3.1.8 " ,
63
+ "splitpanes" : " ^4.0.2 " ,
64
64
"strip-ansi" : " ^7.1.0" ,
65
65
"tailwindcss" : " 4.0.12" ,
66
66
"unplugin-auto-import" : " ^19.1.1" ,
88
88
"@types/d3-shape" : " ^3.1.7" ,
89
89
"@types/d3-transition" : " ^3.0.9" ,
90
90
"@types/lodash.debounce" : " ^4.0.9" ,
91
- "@types/node" : " ^22.13.9 " ,
91
+ "@types/node" : " ^22.13.10 " ,
92
92
"@vitejs/plugin-vue" : " 5.2.1" ,
93
93
"@vue/compiler-sfc" : " ^3.5.13" ,
94
94
"@vue/test-utils" : " ^2.4.6" ,
You can’t perform that action at this time.
0 commit comments