fix: Responsive issue in activity message (#2090)
This commit is contained in:
parent
3e8c25b4a0
commit
997447364c
2 changed files with 9 additions and 6 deletions
|
@ -143,6 +143,10 @@ export default {
|
|||
return `https://twitter.com/${screenName}`;
|
||||
},
|
||||
alignBubble() {
|
||||
const { message_type: messageType } = this.data;
|
||||
if (messageType === MESSAGE_TYPE.ACTIVITY) {
|
||||
return 'center';
|
||||
}
|
||||
return !this.data.message_type ? 'left' : 'right';
|
||||
},
|
||||
readableTime() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue