Skip to content

Commit

Permalink
fix: Fix mobile view of the unread message on the chat application dr…
Browse files Browse the repository at this point in the history
…awer - EXO-62457 (#603) (#604)

Before to this change on mobile view the unread message count was displayed under the last message time .
This change is going to display the unread message count aligned with the last message time.
  • Loading branch information
sofyenne committed Apr 4, 2023
1 parent 81c0464 commit b44828a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.
9 changes: 0 additions & 9 deletions application/src/main/webapp/css/chatMobile.less
Original file line number Diff line number Diff line change
Expand Up @@ -233,20 +233,11 @@
margin-right: 10px ~'; /** orientation=lt */ ';
margin-left: 10px ~'; /** orientation=rt */ ';
}
&.hasUnreadMessages .last-message-time {
margin-right: -27px ~'; /** orientation=lt */ ';
margin-left: -27px ~'; /** orientation=rt */ ';
}
&.has-not-sent-messages .last-message-time {
margin-right: -19px ~'; /** orientation=lt */ ';
margin-left: -19px ~'; /** orientation=rt */ ';
}
.unreadMessages, .uiIconNotification {
align-self: flex-end;
}
.unreadMessages {
.square-rounded(16px);
margin-bottom: 5px;
color: #fff;
}
.seeMoreContacts > a, .uiIconArrowDownMini:before {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,12 @@
</div>
<div
v-if="!isRoomSilent && unreadTotal > 0 && unreadTotal <= maxShowUnread"
:class="['unreadMessages', {'mt-10':mq==='mobile'}]">
:class="['unreadMessages']">
{{ unreadTotal }}
</div>
<div
v-if="!isRoomSilent && unreadTotal > maxShowUnread"
:class="['unreadMessages', 'maxUnread', {'mt-10':mq==='mobile'}]">
:class="['unreadMessages', 'maxUnread']">
+{{ maxShowUnread }}
</div>
<div>
Expand Down

0 comments on commit b44828a

Please sign in to comment.