Chatwoot/app/javascript/dashboard/components/widgets/conversation/bubble/Text.vue

37 lines
522 B
Vue
Raw Normal View History

<template>
<div class="message-text__wrap">
<div class="text-content" v-html="message"></div>
</div>
</template>
<script>
export default {
props: {
message: {
type: String,
default: '',
},
readableTime: {
type: String,
default: '',
},
isEmail: {
type: Boolean,
default: true,
},
},
};
</script>
<style lang="scss" scoped>
.text-content {
overflow: auto;
&::v-deep {
ul,
ol {
margin-left: var(--space-normal);
}
}
}
</style>