File tree 4 files changed +4
-2
lines changed
4 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 14
14
{{ title }}
15
15
</slot >
16
16
</p >
17
- <div v-if =" description || $slots.description" :class =" twMerge(ui.description, !title && !$slots.title && 'mt-0 leading-5' )" >
17
+ <div v-if =" description || $slots.description" :class =" twMerge(ui.description, !title && !$slots.title && ui.descriptionOnly )" >
18
18
<slot name =" description" :description =" description" >
19
19
{{ description }}
20
20
</slot >
Original file line number Diff line number Diff line change 18
18
{{ title }}
19
19
</slot >
20
20
</p >
21
- <div v-if =" (description || $slots.description)" :class =" twMerge(ui.description, !title && !$slots.title && 'mt-0 leading-5' )" >
21
+ <div v-if =" (description || $slots.description)" :class =" twMerge(ui.description, !title && !$slots.title && ui.descriptionOnly )" >
22
22
<slot name =" description" :description =" description" >
23
23
{{ description }}
24
24
</slot >
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ export default {
5
5
inner : 'w-0 flex-1' ,
6
6
title : 'text-sm font-medium' ,
7
7
description : 'mt-1 text-sm leading-4 opacity-90' ,
8
+ descriptionOnly : 'mt-0 leading-5' ,
8
9
actions : 'flex items-center gap-2 mt-3 flex-shrink-0' ,
9
10
shadow : '' ,
10
11
rounded : 'rounded-lg' ,
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ export default {
6
6
inner : 'w-0 flex-1' ,
7
7
title : 'text-sm font-medium text-gray-900 dark:text-white' ,
8
8
description : 'mt-1 text-sm leading-4 text-gray-500 dark:text-gray-400' ,
9
+ descriptionOnly : 'mt-0 leading-5' ,
9
10
actions : 'flex items-center gap-2 mt-3 flex-shrink-0' ,
10
11
background : 'bg-white dark:bg-gray-900' ,
11
12
shadow : 'shadow-lg' ,
You can’t perform that action at this time.
0 commit comments