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 { .publicRoomEntry {
max-width: 480px;
margin-bottom: 5px; margin-bottom: 5px;
} }
.publicRoomJoinedUsers {
float: right;
}
/*** Participant list ***/ /*** Participant list ***/
#usersTableWrapper { #usersTableWrapper {

View File

@ -30,7 +30,8 @@
ng-class="room.room_display_name.toLowerCase().indexOf('#matrix:') === 0 ? 'roomHighlight' : ''"> ng-class="room.room_display_name.toLowerCase().indexOf('#matrix:') === 0 ? 'roomHighlight' : ''">
{{ room.room_display_name }} {{ room.room_display_name }}
</a> </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' }} {{ room.num_joined_members }} {{ room.num_joined_members == 1 ? 'user' : 'users' }}
</div> </div>
</div> </div>