Fix: Order list number break issue (#2097)
This commit is contained in:
parent
997447364c
commit
ba41a10609
2 changed files with 8 additions and 1 deletions
|
@ -147,7 +147,7 @@ export default {
|
||||||
if (messageType === MESSAGE_TYPE.ACTIVITY) {
|
if (messageType === MESSAGE_TYPE.ACTIVITY) {
|
||||||
return 'center';
|
return 'center';
|
||||||
}
|
}
|
||||||
return !this.data.message_type ? 'left' : 'right';
|
return !messageType ? 'left' : 'right';
|
||||||
},
|
},
|
||||||
readableTime() {
|
readableTime() {
|
||||||
return this.messageStamp(this.data.created_at, 'LLL d, h:mm a');
|
return this.messageStamp(this.data.created_at, 'LLL d, h:mm a');
|
||||||
|
|
|
@ -25,5 +25,12 @@ export default {
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.text-content {
|
.text-content {
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
|
|
||||||
|
&::v-deep {
|
||||||
|
ul,
|
||||||
|
ol {
|
||||||
|
margin-left: var(--space-normal);
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
Loading…
Reference in a new issue