File tree Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -52,11 +52,6 @@ export default Vue.extend({
52
52
{
53
53
timestamp: Date .parse (' 2021-05-28T20:20:46.444Z' ),
54
54
title: ' Voluptate pariatur dolore laborum eu'
55
- },
56
- {
57
- timestamp: Date .parse (' 2021-01-28T20:20:46.444Z' ),
58
- title: ' Mollit aliqua velit nostrud ipsum' ,
59
- content: ' Magna officia est fugiat sit esse consectetur labore elit nulla duis consectetur. Et sit velit ad ipsum officia.'
60
55
}
61
56
]
62
57
}
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ export default /*#__PURE__*/{
18
18
variant: String ,
19
19
},
20
20
methods: {
21
- bsVariant () {
21
+ bootstrapVariant () {
22
22
return this .variant || ' primary'
23
23
},
24
24
orderedItems () {
@@ -61,15 +61,15 @@ export default /*#__PURE__*/{
61
61
:key =" item.timestamp + item.title"
62
62
class =" flex-column align-items-start"
63
63
>
64
- <div :class =" `item-head ${bsVariant ()}`" />
64
+ <div :class =" `item-head ${bootstrapVariant ()}`" />
65
65
<div
66
66
v-if =" index !== itemsCount() - 1"
67
67
class =" item-tail"
68
68
/>
69
69
70
70
<b-spinner
71
71
v-if =" item.spinner"
72
- :variant =" bsVariant ()"
72
+ :variant =" bootstrapVariant ()"
73
73
class =" ml-4"
74
74
/>
75
75
@@ -94,7 +94,7 @@ export default /*#__PURE__*/{
94
94
</b-tooltip >
95
95
</div >
96
96
97
- <small class =" mb-1" >
97
+ <small class =" mb-1 item-description " >
98
98
{{ item.content || '' }}
99
99
</small >
100
100
</div >
@@ -134,6 +134,11 @@ export default /*#__PURE__*/{
134
134
word-break : break-word ;
135
135
}
136
136
137
+ .item-description {
138
+ display : block ;
139
+ text-align : left ;
140
+ }
141
+
137
142
.primary {
138
143
background-color : #007bff ;
139
144
color : #007bff ;
You can’t perform that action at this time.
0 commit comments