Skip to content

Commit 9c5d4aa

Browse files
committed
(fix) improve users tag UI
1 parent 237cce3 commit 9c5d4aa

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/ChatWindow/FormatMessage.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
!singleLine && checkType(message, 'inline-code'),
1616
'vac-text-multiline-code':
1717
!singleLine && checkType(message, 'multiline-code'),
18-
'vac-text-tag': !reply && checkType(message, 'tag')
18+
'vac-text-tag': !singleLine && !reply && checkType(message, 'tag')
1919
}"
2020
:href="message.href"
2121
:target="message.href ? '_blank' : null"

src/ChatWindow/Room.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -946,7 +946,7 @@ export default {
946946
this.$emit('open-file', { message, action })
947947
},
948948
openUserTag(user) {
949-
this.$emit('open-user-tag', { user })
949+
this.$emit('open-user-tag', user)
950950
},
951951
menuActionHandler(action) {
952952
this.closeMenu()

src/themes/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ export const defaultThemeStyles = {
131131
color: '#fff',
132132
backgroundInput: '#202223',
133133
colorPlaceholder: '#596269',
134-
colorCaret: '#1976d2',
134+
colorCaret: '#fff',
135135
colorSpinner: '#fff',
136136
borderStyle: 'none',
137137
backgroundScrollIcon: '#fff'
@@ -177,7 +177,7 @@ export const defaultThemeStyles = {
177177

178178
message: {
179179
background: '#22242a',
180-
backgroundMe: '#4fb381',
180+
backgroundMe: '#1f7e80',
181181
color: '#fff',
182182
colorStarted: '#9ca6af',
183183
backgroundDeleted: '#1b1c21',

0 commit comments

Comments
 (0)