summary refs log tree commit diff
path: root/webclient
diff options
context:
space:
mode:
authorKegan Dougal <kegan@matrix.org>2014-09-08 13:28:55 -0700
committerKegan Dougal <kegan@matrix.org>2014-09-08 13:28:55 -0700
commit054fad5360a925635fc392e5e6fa853f9b034e39 (patch)
tree58d5e66142fb32bc9390481c89b2b82b96d3bab6 /webclient
parentBetter checks are better. (diff)
downloadsynapse-054fad5360a925635fc392e5e6fa853f9b034e39.tar.xz
Float right the num users, apply room highlight to user count.
Diffstat (limited to '')
-rwxr-xr-xwebclient/app.css5
-rw-r--r--webclient/home/home.html3
2 files changed, 7 insertions, 1 deletions
diff --git a/webclient/app.css b/webclient/app.css
index b438cf0405..19fae632ff 100755
--- a/webclient/app.css
+++ b/webclient/app.css
@@ -274,9 +274,14 @@ a:active  { color: #000; }
 }
 
 .publicRoomEntry {
+    max-width: 480px;
     margin-bottom: 5px;
 }
 
+.publicRoomJoinedUsers {
+    float: right;
+}
+
 /*** Participant list ***/
 
 #usersTableWrapper {
diff --git a/webclient/home/home.html b/webclient/home/home.html
index f3abd76a05..6d599e6849 100644
--- a/webclient/home/home.html
+++ b/webclient/home/home.html
@@ -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>