File tree Expand file tree Collapse file tree 2 files changed +23
-17
lines changed Expand file tree Collapse file tree 2 files changed +23
-17
lines changed Original file line number Diff line number Diff line change 1
1
<template >
2
2
<div class =" card" :class =" `bg-${color} text-white`" >
3
- <div class =" card-body pb-0" >
3
+ <div class =" card-body pb-0 d-flex justify-content-between" >
4
+ <div >
5
+ <div v-if =" header" class =" text-value-lg" >{{header}}</div >
6
+ <div v-if =" text" >{{text}}</div >
7
+ </div >
4
8
<slot ></slot >
5
- <h4 v-if =" header" class =" mb-0" >{{header}}</h4 >
6
- <p v-if =" text" >{{text}}</p >
7
9
</div >
8
10
<slot name =" footer" ></slot >
9
11
</div >
Original file line number Diff line number Diff line change @@ -5,18 +5,20 @@ exports[`CWidgetDropdown matches custom props snapshot 1`] = `
5
5
class = " card bg-info text-white"
6
6
>
7
7
<div
8
- class = " card-body pb-0"
8
+ class = " card-body pb-0 d-flex justify-content-between "
9
9
>
10
+ <div >
11
+ <div
12
+ class = " text-value-lg"
13
+ >
14
+ header
15
+ </div >
16
+
17
+ <div >
18
+ text
19
+ </div >
20
+ </div >
10
21
11
- <h4
12
- class = " mb-0"
13
- >
14
- header
15
- </h4 >
16
-
17
- <p >
18
- text
19
- </p >
20
22
</div >
21
23
22
24
</div >
@@ -27,12 +29,14 @@ exports[`CWidgetDropdown matches default props snapshot 1`] = `
27
29
class = " card bg-undefined text-white"
28
30
>
29
31
<div
30
- class = " card-body pb-0"
32
+ class = " card-body pb-0 d-flex justify-content-between "
31
33
>
34
+ <div >
35
+ <!---->
36
+
37
+ <!---->
38
+ </div >
32
39
33
- <!---->
34
-
35
- <!---->
36
40
</div >
37
41
38
42
</div >
You can’t perform that action at this time.
0 commit comments