From 7b25f4e0693cd8889379285c523c7ff88c2a6cce Mon Sep 17 00:00:00 2001 From: Matthew Hodgson Date: Tue, 13 Sep 2016 12:18:09 +0100 Subject: [PATCH] wip for collapsable RHS --- src/components/structures/BottomLeftMenu.js | 8 ++++---- src/components/structures/RightPanel.js | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/components/structures/BottomLeftMenu.js b/src/components/structures/BottomLeftMenu.js index 77493b17c..0ea35b4ec 100644 --- a/src/components/structures/BottomLeftMenu.js +++ b/src/components/structures/BottomLeftMenu.js @@ -101,6 +101,10 @@ module.exports = React.createClass({ return (
+
+ + { this.getLabel("Start chat", this.state.peopleHover) } +
{ this.getLabel("Room directory", this.state.directoryHover) } @@ -109,10 +113,6 @@ module.exports = React.createClass({ { this.getLabel("Create new room", this.state.roomsHover) }
-
- - { this.getLabel("New direct message", this.state.peopleHover) } -
{ this.getLabel("Settings", this.state.settingsHover) } diff --git a/src/components/structures/RightPanel.js b/src/components/structures/RightPanel.js index d2b36cf4e..e45556588 100644 --- a/src/components/structures/RightPanel.js +++ b/src/components/structures/RightPanel.js @@ -29,7 +29,7 @@ module.exports = React.createClass({ propTypes: { userId: React.PropTypes.string, // if showing an orphaned MemberInfo page, this is set roomId: React.PropTypes.string, // if showing panels for a given room, this is set - collapsed: React.PropTypes.bool, + collapsed: React.PropTypes.bool, // currently unused property to request for a minimized view of the panel }, Phase : {