Skip to content

Commit 18aff02

Browse files
committed
(fix) add transition div wrapper
1 parent c6188f6 commit 18aff02

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

.eslintrc.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ module.exports = {
33
env: {
44
node: true
55
},
6-
extends: ['standard', 'plugin:vue/recommended', '@vue/typescript'],
6+
extends: ['standard', 'plugin:vue/vue3-recommended', '@vue/typescript'],
77
rules: {
88
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
99
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',

src/lib/Room/Room.vue

+9-7
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,15 @@
3838
<div class="vac-messages-container">
3939
<div :class="{ 'vac-messages-hidden': loadingMessages }">
4040
<transition name="vac-fade-message">
41-
<div v-if="showNoMessages" class="vac-text-started">
42-
<slot name="messages-empty">
43-
{{ textMessages.MESSAGES_EMPTY }}
44-
</slot>
45-
</div>
46-
<div v-if="showMessagesStarted" class="vac-text-started">
47-
{{ textMessages.CONVERSATION_STARTED }} {{ messages[0].date }}
41+
<div>
42+
<div v-if="showNoMessages" class="vac-text-started">
43+
<slot name="messages-empty">
44+
{{ textMessages.MESSAGES_EMPTY }}
45+
</slot>
46+
</div>
47+
<div v-if="showMessagesStarted" class="vac-text-started">
48+
{{ textMessages.CONVERSATION_STARTED }} {{ messages[0].date }}
49+
</div>
4850
</div>
4951
</transition>
5052
<transition name="vac-fade-message">

0 commit comments

Comments
 (0)