Skip to content

Commit

Permalink
fix: add margin for message
Browse files Browse the repository at this point in the history
  • Loading branch information
SigureMo committed Nov 22, 2023
1 parent d5c5d44 commit 9a73e7b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/.vitepress/components/Message.vue
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,13 @@ const messageType = computed(() => {
const extraClasses = computed(() => {
const type_ = messageType.value
if (type_ === 'left') {
return {}
return {
'mr-10': true,
}
} else {
return {
'flex-row-reverse': true,
'ml-10': true,
}
}
})
Expand Down

0 comments on commit 9a73e7b

Please sign in to comment.