From 6e2a3710177b3218eb6e6f6f6bf7a22afdfb9417 Mon Sep 17 00:00:00 2001
From: Matthew Hodgson <matthew@matrix.org>
Date: Fri, 16 Sep 2016 14:35:58 +0100
Subject: [PATCH] fix MemberInfo layout

---
 .../matrix-react-sdk/views/rooms/MemberInfo.css    | 14 +++++++++++++-
 .../css/matrix-react-sdk/views/rooms/RoomTile.css  |  4 ----
 2 files changed, 13 insertions(+), 5 deletions(-)

diff --git a/src/skins/vector/css/matrix-react-sdk/views/rooms/MemberInfo.css b/src/skins/vector/css/matrix-react-sdk/views/rooms/MemberInfo.css
index 7eb2ec32..038db7c8 100644
--- a/src/skins/vector/css/matrix-react-sdk/views/rooms/MemberInfo.css
+++ b/src/skins/vector/css/matrix-react-sdk/views/rooms/MemberInfo.css
@@ -25,6 +25,18 @@ limitations under the License.
     margin-top: 6px;
 }
 
+.mx_MemberInfo .mx_RoomTile_nameContainer {
+    width: 154px;
+}
+
+.mx_MemberInfo .mx_RoomTile_badge {
+    display: none;
+}
+
+.mx_MemberInfo .mx_RoomTile_name {
+    width: 160px;
+}
+
 .mx_MemberInfo_cancel {
     float: right;
     margin-right: 10px;
@@ -80,7 +92,7 @@ limitations under the License.
 }
 
 .mx_MemberInfo_createRoom_label {
-    width: 160px ! important;
+    width: 150px ! important;
     cursor: pointer;
 }
 
diff --git a/src/skins/vector/css/matrix-react-sdk/views/rooms/RoomTile.css b/src/skins/vector/css/matrix-react-sdk/views/rooms/RoomTile.css
index 5b852943..2822d82e 100644
--- a/src/skins/vector/css/matrix-react-sdk/views/rooms/RoomTile.css
+++ b/src/skins/vector/css/matrix-react-sdk/views/rooms/RoomTile.css
@@ -36,10 +36,6 @@ limitations under the License.
     height: 24px;
 }
 
-.mx_RightPanel .mx_RoomTile_nameContainer {
-    width: 170px;
-}
-
 .mx_RoomTile_avatar_container {
     position: relative;
 }