Skip to content

Commit 9c86a65

Browse files
author
Luke Barnard
committed
Add button to get to MyGroups
1 parent 1740319 commit 9c86a65

3 files changed

Lines changed: 139 additions & 0 deletions

File tree

‎src/components/structures/BottomLeftMenu.js‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,7 @@ module.exports = React.createClass({
167167
const StartChatButton = sdk.getComponent('elements.StartChatButton');
168168
const RoomDirectoryButton = sdk.getComponent('elements.RoomDirectoryButton');
169169
const CreateRoomButton = sdk.getComponent('elements.CreateRoomButton');
170+
const GroupsButton = sdk.getComponent('elements.GroupsButton');
170171
const SettingsButton = sdk.getComponent('elements.SettingsButton');
171172

172173
return (
@@ -182,6 +183,7 @@ module.exports = React.createClass({
182183
<div ref={this._collectCreateRoomButton}>
183184
<CreateRoomButton tooltip={true} />
184185
</div>
186+
<GroupsButton tooltip={true} />
185187
<span className="mx_BottomLeftMenu_settings">
186188
<SettingsButton tooltip={true} />
187189
</span>

‎src/skins/vector/css/matrix-react-sdk/structures/_MyGroups.scss‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,16 @@ See the License for the specific language governing permissions and
1414
limitations under the License.
1515
*/
1616

17+
.mx_MyGroups {
18+
max-width: 960px;
19+
margin-left: auto;
20+
margin-right: auto;
21+
}
22+
23+
.mx_MyGroups .mx_RoomHeader_simpleHeader {
24+
margin-left: 0px;
25+
}
26+
1727
.mx_MyGroups_joinCreateBox {
1828
display: table;
1929
margin-bottom: 30px;
Lines changed: 127 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)