mirror of
https://mau.dev/maunium/synapse.git
synced 2024-11-18 07:52:56 +01:00
Float right the num users, apply room highlight to user count.
This commit is contained in:
parent
e0954f3b36
commit
054fad5360
2 changed files with 7 additions and 1 deletions
|
@ -274,9 +274,14 @@ a:active { color: #000; }
|
|||
}
|
||||
|
||||
.publicRoomEntry {
|
||||
max-width: 480px;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
.publicRoomJoinedUsers {
|
||||
float: right;
|
||||
}
|
||||
|
||||
/*** Participant list ***/
|
||||
|
||||
#usersTableWrapper {
|
||||
|
|
|
@ -30,7 +30,8 @@
|
|||
ng-class="room.room_display_name.toLowerCase().indexOf('#matrix:') === 0 ? 'roomHighlight' : ''">
|
||||
{{ room.room_display_name }}
|
||||
</a>
|
||||
<div ng-show="room.num_joined_members">
|
||||
<div ng-class="room.room_display_name.toLowerCase().indexOf('#matrix:') === 0 ? 'publicRoomJoinedUsers roomHighlight' : 'publicRoomJoinedUsers'"
|
||||
ng-show="room.num_joined_members">
|
||||
{{ room.num_joined_members }} {{ room.num_joined_members == 1 ? 'user' : 'users' }}
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue