File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change 45
45
class =" state-circle"
46
46
:class =" { 'state-online': userStatus(room) === 'online' }"
47
47
></div >
48
- <div class =" room-name" >
48
+ <div class =" room-name text-ellipsis " >
49
49
{{ room.roomName }}
50
50
</div >
51
- <div class =" room-name text-date" v-if =" room.lastMessage" >
51
+ <div class =" text-date" v-if =" room.lastMessage" >
52
52
{{ room.lastMessage.timestamp }}
53
53
</div >
54
54
</div >
55
55
<div
56
- class =" room-name text-last "
56
+ class =" text-last text-ellipsis "
57
57
:class =" { 'message-new': room.lastMessage.new }"
58
58
v-if =" room.lastMessage"
59
59
>
@@ -242,14 +242,14 @@ input {
242
242
align-items : center ;
243
243
}
244
244
245
- .room-name {
245
+ .text-ellipsis {
246
246
white-space : nowrap ;
247
247
overflow : hidden ;
248
248
text-overflow : ellipsis ;
249
+ }
250
+
251
+ .room-name {
249
252
flex : 1 ;
250
- white-space : nowrap ;
251
- overflow : hidden ;
252
- text-overflow : ellipsis ;
253
253
color : var (--chat-room-color-username );
254
254
}
255
255
@@ -264,9 +264,9 @@ input {
264
264
}
265
265
266
266
.text-date {
267
- color : var ( --chat-room-color-timestamp ) ;
267
+ margin-left : 5 px ;
268
268
font-size : 11px ;
269
- text-align : right ;
269
+ color : var ( --chat-room-color-timestamp ) ;
270
270
}
271
271
272
272
.icon-check {
You can’t perform that action at this time.
0 commit comments