diff --git a/skins/base/css/pages/MatrixChat.css b/skins/base/css/pages/MatrixChat.css index 5ff442cf..b0f30c11 100644 --- a/skins/base/css/pages/MatrixChat.css +++ b/skins/base/css/pages/MatrixChat.css @@ -38,7 +38,7 @@ limitations under the License. height: 100%; } -.mx_MatrixChat .mx_RoomView { +.mx_MatrixChat .mx_MainView { -webkit-box-ordinal-group: 2; -moz-box-ordinal-group: 2; -ms-flex-order: 2; @@ -47,7 +47,7 @@ limitations under the License. background-color: #f3f8fa; width: 100%; - height: 100%; + height: 100%; } .mx_MatrixChat .mx_RightPanel { @@ -60,5 +60,5 @@ limitations under the License. background-color: #f3f8fa; -webkit-flex: 0 0 230px; flex: 0 0 230px; - height: 100%; + height: 100%; } diff --git a/skins/base/views/molecules/DirectoryMenu.js b/skins/base/views/molecules/DirectoryMenu.js index b6c0f808..f3b9e592 100644 --- a/skins/base/views/molecules/DirectoryMenu.js +++ b/skins/base/views/molecules/DirectoryMenu.js @@ -19,6 +19,8 @@ limitations under the License. var React = require('react'); var classNames = require('classnames'); +var dis = require("../../../../src/dispatcher"); + //var DirectoryMenuController = require("../../../../src/controllers/molecules/DirectoryMenuController"); var MatrixClientPeg = require("../../../../src/MatrixClientPeg"); @@ -26,6 +28,11 @@ var MatrixClientPeg = require("../../../../src/MatrixClientPeg"); module.exports = React.createClass({ displayName: 'DirectoryMenu', // mixins: [DirectoryMenuController], + + onSettingsClick: function() { + dis.dispatch({action: 'view_user_settings'}); + }, + render: function() { return (