Float right the num users, apply room highlight to user count.

This commit is contained in:
Kegan Dougal 2014-09-08 13:28:55 -07:00
parent e0954f3b36
commit 054fad5360
2 changed files with 7 additions and 1 deletions

View file

@ -274,9 +274,14 @@ a:active { color: #000; }
}
.publicRoomEntry {
max-width: 480px;
margin-bottom: 5px;
}
.publicRoomJoinedUsers {
float: right;
}
/*** Participant list ***/
#usersTableWrapper {

View file

@ -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>