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 4444 <!-- ============================== Slots -->
4545 <!-- Prepend Slot -->
4646 <template v-if =" slots .prepend " >
47- <slot name =" prepend" ></slot >
47+ <div class =" v-navigation-drawer__prepend" >
48+ <slot name =" prepend" ></slot >
49+ </div >
4850 </template >
4951
5052 <!-- Default Slot -->
51- <slot name =" default" ></slot >
53+ <div class =" v-navigation-drawer__content" >
54+ <slot ></slot >
55+ </div >
5256
5357 <!-- Append Slot -->
5458 <template v-if =" slots .append " >
55- <slot name =" append" ></slot >
59+ <div class =" v-navigation-drawer__append" >
60+ <slot name =" append" ></slot >
61+ </div >
5662 </template >
5763 </v-navigation-drawer >
5864</template >
Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ exports[`Classes Composable > useDrawerClasses > should return class object 1`]
1919
2020exports [` Classes Composable > useHandleContainerClasses > should return class object 1` ] = `
2121{
22+ " v-navigation-drawer__handle" : true ,
2223 " v-resize-drawer--handle-container" : true ,
2324 " v-resize-drawer--handle-container-parent-start" : true ,
2425 " v-resize-drawer--handle-container-position-center" : true ,
@@ -27,6 +28,7 @@ exports[`Classes Composable > useHandleContainerClasses > should return class ob
2728
2829exports [` Classes Composable > useHandleContainerClasses > should return class object 2` ] = `
2930{
31+ " v-navigation-drawer__handle" : true ,
3032 " v-resize-drawer--handle-container" : true ,
3133 " v-resize-drawer--handle-container-parent-left" : true ,
3234 " 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) =>
3636 const { drawerLocation, handlePosition } = options ;
3737
3838 const classes = {
39+ 'v-navigation-drawer__handle' : true ,
3940 [ `${ componentName } --handle-container` ] : true ,
4041 [ `${ componentName } --handle-container-position-${ handlePosition } ` ] : true ,
4142 [ `${ componentName } --handle-container-parent-${ drawerLocation } ` ] : true ,
Original file line number Diff line number Diff line change 129129 position : relative ;
130130 }
131131 }
132+
133+ > .v-navigation-drawer__content {
134+ display : flex ;
135+ flex-direction : column ;
136+ }
132137}
133138
134139
You can’t perform that action at this time.
0 commit comments