Fix: Order list number break issue (#2097)

This commit is contained in:
Sivin Varghese 2021-04-14 15:20:13 +05:30 committed by GitHub
parent 997447364c
commit ba41a10609
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 1 deletions

View file

@ -147,7 +147,7 @@ export default {
if (messageType === MESSAGE_TYPE.ACTIVITY) {
return 'center';
}
return !this.data.message_type ? 'left' : 'right';
return !messageType ? 'left' : 'right';
},
readableTime() {
return this.messageStamp(this.data.created_at, 'LLL d, h:mm a');

View file

@ -25,5 +25,12 @@ export default {
<style lang="scss" scoped>
.text-content {
overflow: auto;
&::v-deep {
ul,
ol {
margin-left: var(--space-normal);
}
}
}
</style>