diff --git a/src/components/structures/RightPanel.js b/src/components/structures/RightPanel.js
index d70bfdbf86..aec66712f2 100644
--- a/src/components/structures/RightPanel.js
+++ b/src/components/structures/RightPanel.js
@@ -330,7 +330,7 @@ module.exports = React.createClass({
- { _t('Add room to this group') }
+ { _t('Add rooms to this group') }
);
}
diff --git a/src/i18n/strings/de_DE.json b/src/i18n/strings/de_DE.json
index 5c4c2cc221..1d9b5ce8e5 100644
--- a/src/i18n/strings/de_DE.json
+++ b/src/i18n/strings/de_DE.json
@@ -216,6 +216,5 @@
"State Key": "Status-Schlüssel",
"Invite to this group": "In diese Gruppe einladen",
"Filter results": "Ergebnisse filtern",
- "You must specify an event type!": "Du musst einen Event-Typ spezifizieren!",
- "Add room to this group": "Raum zu dieser Gruppe hinzufügen"
+ "You must specify an event type!": "Du musst einen Event-Typ spezifizieren!"
}
diff --git a/src/i18n/strings/en_EN.json b/src/i18n/strings/en_EN.json
index 16d47d1020..beaafbfed2 100644
--- a/src/i18n/strings/en_EN.json
+++ b/src/i18n/strings/en_EN.json
@@ -213,5 +213,5 @@
"Set Password": "Set Password",
"Couldn't load home page": "Couldn't load home page",
"Invite to this group": "Invite to this group",
- "Add room to this group": "Add room to this group"
+ "Add rooms to this group": "Add rooms to this group"
}
diff --git a/src/i18n/strings/gl.json b/src/i18n/strings/gl.json
index f8a80cf5f7..6286fe56d0 100644
--- a/src/i18n/strings/gl.json
+++ b/src/i18n/strings/gl.json
@@ -219,7 +219,6 @@
"Set Password": "Establecer contrasinal",
"Couldn't load home page": "Non se cargou a páxina de inicio",
"Invite to this group": "Convidar a este grupo",
- "Add room to this group": "Engadir sala a este grupo",
"You might have configured them in a client other than Riot. You cannot tune them in Riot but they still apply": "Pode que os configurase nun cliente diferente de Riot. Non pode establecelos desde Riot pero aínda así aplicaranse",
"Riot/Android & matrix-android-sdk chat": "Chat para Riot/Android & matrix-android-sdk"
}
diff --git a/src/i18n/strings/hu.json b/src/i18n/strings/hu.json
index 4df7be0c6a..8694d80485 100644
--- a/src/i18n/strings/hu.json
+++ b/src/i18n/strings/hu.json
@@ -207,6 +207,5 @@
"State Key": "Állapot kulcs",
"Invite to this group": "Meghívás ebbe a csoportba",
"Filter results": "Találatok szűrése",
- "You must specify an event type!": "Meg kell határoznod az esemény típusát!",
- "Add room to this group": "Szoba hozzáadása ehhez a csoporthoz"
+ "You must specify an event type!": "Meg kell határoznod az esemény típusát!"
}
diff --git a/src/i18n/strings/it.json b/src/i18n/strings/it.json
index 81834d5cd9..1a177017b8 100644
--- a/src/i18n/strings/it.json
+++ b/src/i18n/strings/it.json
@@ -206,6 +206,5 @@
"Event Type": "Tipo di Evento",
"Event Content": "Contenuto dell'Evento",
"State Key": "Chiave dello Stato",
- "Invite to this group": "Invita in questo gruppo",
- "Add room to this group": "Aggiungi stanza a questo gruppo"
+ "Invite to this group": "Invita in questo gruppo"
}
diff --git a/src/i18n/strings/nl.json b/src/i18n/strings/nl.json
index 620e916900..1311a76996 100644
--- a/src/i18n/strings/nl.json
+++ b/src/i18n/strings/nl.json
@@ -207,6 +207,5 @@
"Event sent!": "Event verstuurd!",
"Event Type": "Event-type",
"Event Content": "Event-inhoud",
- "State Key": "Toestandssleutel",
- "Add room to this group": "Voeg een ruimte aan deze groep toe"
+ "State Key": "Toestandssleutel"
}
diff --git a/src/i18n/strings/pt.json b/src/i18n/strings/pt.json
index a8e8282902..78d3a50c96 100644
--- a/src/i18n/strings/pt.json
+++ b/src/i18n/strings/pt.json
@@ -209,6 +209,5 @@
"Couldn't load home page": "Não foi possível carregar a página inicial",
"Invite to this group": "Convidar para este grupo",
"Filter results": "Filtrar resultados",
- "You must specify an event type!": "Tem que especificar um tipo de evento!",
- "Add room to this group": "Adicionar sala a este grupo"
+ "You must specify an event type!": "Tem que especificar um tipo de evento!"
}
diff --git a/src/i18n/strings/pt_BR.json b/src/i18n/strings/pt_BR.json
index 67240c202b..22a47c6507 100644
--- a/src/i18n/strings/pt_BR.json
+++ b/src/i18n/strings/pt_BR.json
@@ -210,6 +210,5 @@
"Event Type": "Tipo do Evento",
"Event Content": "Conteúdo do Evento",
"State Key": "Chave do Estado",
- "Invite to this group": "Convide para este grupo",
- "Add room to this group": "Adicione sala para este grupo"
+ "Invite to this group": "Convide para este grupo"
}
diff --git a/src/i18n/strings/ru.json b/src/i18n/strings/ru.json
index fbc4ff19be..b711ab6ef3 100644
--- a/src/i18n/strings/ru.json
+++ b/src/i18n/strings/ru.json
@@ -214,6 +214,5 @@
"State Key": "Ключ состояния",
"Invite to this group": "Пригласить в эту группу",
"Filter results": "Фильтрация результатов",
- "You must specify an event type!": "Необходимо указать тип мероприятия!",
- "Add room to this group": "Добавить комнату в эту группу"
+ "You must specify an event type!": "Необходимо указать тип мероприятия!"
}
diff --git a/src/i18n/strings/uk.json b/src/i18n/strings/uk.json
index 4fa3d7ebd2..a64d87c73f 100644
--- a/src/i18n/strings/uk.json
+++ b/src/i18n/strings/uk.json
@@ -207,6 +207,5 @@
"Event Type": "Тип західу",
"Event Content": "Зміст заходу",
"State Key": "Ключ стану",
- "Invite to this group": "Запросити в цю групу",
- "Add room to this group": "Додати кімнату в цю группу"
+ "Invite to this group": "Запросити в цю групу"
}
diff --git a/src/i18n/strings/zh_Hant.json b/src/i18n/strings/zh_Hant.json
index 413362e123..65f3a26f59 100644
--- a/src/i18n/strings/zh_Hant.json
+++ b/src/i18n/strings/zh_Hant.json
@@ -207,6 +207,5 @@
"State Key": "狀態金鑰",
"Invite to this group": "邀請進入此群組",
"Filter results": "過濾結果",
- "You must specify an event type!": "您必須指定事件類型!",
- "Add room to this group": "新增聊天室到此群組"
+ "You must specify an event type!": "您必須指定事件類型!"
}
diff --git a/src/skins/vector/css/matrix-react-sdk/structures/_GroupView.scss b/src/skins/vector/css/matrix-react-sdk/structures/_GroupView.scss
index 838f147e84..23a9f8bb1f 100644
--- a/src/skins/vector/css/matrix-react-sdk/structures/_GroupView.scss
+++ b/src/skins/vector/css/matrix-react-sdk/structures/_GroupView.scss
@@ -19,6 +19,9 @@ limitations under the License.
width: 100%;
margin-left: auto;
margin-right: auto;
+ display: flex;
+ flex-direction: column;
+ overflow: hidden;
}
.mx_GroupView_error {
@@ -27,15 +30,13 @@ limitations under the License.
.mx_GroupView_header {
max-width: 960px;
- margin: auto;
height: 70px;
align-items: center;
display: flex;
- margin-bottom: 20px;
}
.mx_GroupView_header_view {
- border-bottom: 1px solid #e5e5e5;
+ border-bottom: 1px solid $primary-hairline-color;
}
.mx_GroupView_header_avatar, .mx_GroupView_header_info {
@@ -133,9 +134,53 @@ limitations under the License.
top: 5px;
}
+.mx_GroupView_body {
+ display: flex;
+ flex-direction: column;
+ flex-grow: 1;
+}
+
+.mx_GroupView_rooms {
+ flex-grow: 1;
+ display: flex;
+ flex-direction: column;
+ min-height: 200px;
+ user-select: none;
+}
+
+.mx_GroupView_rooms_header h3 {
+ margin-bottom: 10px
+}
+
+.mx_GroupView_rooms_header .mx_AccessibleButton {
+ padding-left: 14px;
+ margin-bottom: 14px;
+ height: 24px;
+}
+
+.mx_GroupView_rooms_header_addButton {
+ display: inline-block;
+}
+
+.mx_GroupView_rooms_header_addButton_label {
+ display: inline-block;
+ vertical-align: top;
+ line-height: 24px;
+ padding-left: 28px;
+ color: $accent-color;
+}
+
+.mx_GroupView_rooms .mx_RoomDetailList {
+ flex-grow: 1;
+ border-top: 1px solid $primary-hairline-color;
+ padding-top: 10px;
+}
+
+.mx_GroupView .mx_RoomView_messageListWrapper {
+ justify-content: flex-start;
+}
+
.mx_GroupView_membershipSection {
- margin-left: auto;
- margin-right: auto;
margin-bottom: 11px;
color: $greyed-fg-color;
}