File tree Expand file tree Collapse file tree 4 files changed +17
-3
lines changed Expand file tree Collapse file tree 4 files changed +17
-3
lines changed Original file line number Diff line number Diff line change 44
44
<!-- ============================== Slots -->
45
45
<!-- Prepend Slot -->
46
46
<template v-if =" slots .prepend " >
47
- <slot name =" prepend" ></slot >
47
+ <div class =" v-navigation-drawer__prepend" >
48
+ <slot name =" prepend" ></slot >
49
+ </div >
48
50
</template >
49
51
50
52
<!-- Default Slot -->
51
- <slot name =" default" ></slot >
53
+ <div class =" v-navigation-drawer__content" >
54
+ <slot ></slot >
55
+ </div >
52
56
53
57
<!-- Append Slot -->
54
58
<template v-if =" slots .append " >
55
- <slot name =" append" ></slot >
59
+ <div class =" v-navigation-drawer__append" >
60
+ <slot name =" append" ></slot >
61
+ </div >
56
62
</template >
57
63
</v-navigation-drawer >
58
64
</template >
Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ exports[`Classes Composable > useDrawerClasses > should return class object 1`]
19
19
20
20
exports [` Classes Composable > useHandleContainerClasses > should return class object 1` ] = `
21
21
{
22
+ " v-navigation-drawer__handle" : true ,
22
23
" v-resize-drawer--handle-container" : true ,
23
24
" v-resize-drawer--handle-container-parent-start" : true ,
24
25
" v-resize-drawer--handle-container-position-center" : true ,
@@ -27,6 +28,7 @@ exports[`Classes Composable > useHandleContainerClasses > should return class ob
27
28
28
29
exports [` Classes Composable > useHandleContainerClasses > should return class object 2` ] = `
29
30
{
31
+ " v-navigation-drawer__handle" : true ,
30
32
" v-resize-drawer--handle-container" : true ,
31
33
" v-resize-drawer--handle-container-parent-left" : true ,
32
34
" v-resize-drawer--handle-container-position-top" : true ,
Original file line number Diff line number Diff line change @@ -36,6 +36,7 @@ export const useHandleContainerClasses: UseHandleContainerClasses = (options) =>
36
36
const { drawerLocation, handlePosition } = options ;
37
37
38
38
const classes = {
39
+ 'v-navigation-drawer__handle' : true ,
39
40
[ `${ componentName } --handle-container` ] : true ,
40
41
[ `${ componentName } --handle-container-position-${ handlePosition } ` ] : true ,
41
42
[ `${ componentName } --handle-container-parent-${ drawerLocation } ` ] : true ,
Original file line number Diff line number Diff line change 129
129
position : relative ;
130
130
}
131
131
}
132
+
133
+ > .v-navigation-drawer__content {
134
+ display : flex ;
135
+ flex-direction : column ;
136
+ }
132
137
}
133
138
134
139
You can’t perform that action at this time.
0 commit comments