diff --git a/src/components/structures/RightPanel.js b/src/components/structures/RightPanel.js index 56de89df..ef800c61 100644 --- a/src/components/structures/RightPanel.js +++ b/src/components/structures/RightPanel.js @@ -165,6 +165,7 @@ module.exports = React.createClass({ var FilePanel = sdk.getComponent('structures.FilePanel'); var TintableSvg = sdk.getComponent("elements.TintableSvg"); var buttonGroup; + var inviteGroup; var panel; var filesHighlight; @@ -210,6 +211,14 @@ module.exports = React.createClass({ { notificationsHighlight } ; + + inviteGroup = +
+
+ +
+
Invite to this room
+
; } if (!this.props.collapsed) { @@ -244,12 +253,7 @@ module.exports = React.createClass({ { panel }
-
-
- -
-
Invite to this room
-
+ { inviteGroup }
); diff --git a/src/skins/vector/css/matrix-react-sdk/views/dialogs/ChatInviteDialog.css b/src/skins/vector/css/matrix-react-sdk/views/dialogs/ChatInviteDialog.css index 9fe5af9e..aa1dced8 100644 --- a/src/skins/vector/css/matrix-react-sdk/views/dialogs/ChatInviteDialog.css +++ b/src/skins/vector/css/matrix-react-sdk/views/dialogs/ChatInviteDialog.css @@ -44,7 +44,7 @@ limitations under the License. padding-bottom: 1px; max-height: 150px; overflow-x: hidden; - overflow-y: scroll; + overflow-y: auto; } .mx_ChatInviteDialog_error { diff --git a/src/skins/vector/css/matrix-react-sdk/views/elements/AddressSelector.css b/src/skins/vector/css/matrix-react-sdk/views/elements/AddressSelector.css index 62efee7c..aa0f8c6a 100644 --- a/src/skins/vector/css/matrix-react-sdk/views/elements/AddressSelector.css +++ b/src/skins/vector/css/matrix-react-sdk/views/elements/AddressSelector.css @@ -19,7 +19,7 @@ limitations under the License. background-color: #fff; width: 485px; max-height: 116px; - overflow-y: scroll; + overflow-y: auto; border-radius: 3px; background-color: #fff; border: solid 1px #76cfa6; diff --git a/src/skins/vector/css/vector-web/structures/RightPanel.css b/src/skins/vector/css/vector-web/structures/RightPanel.css index 0770f7df..537fef40 100644 --- a/src/skins/vector/css/vector-web/structures/RightPanel.css +++ b/src/skins/vector/css/vector-web/structures/RightPanel.css @@ -110,6 +110,7 @@ limitations under the License. color: #4A4A4A; padding-top: 13px; padding-left: 5px; + cursor: pointer; } .collapsed .mx_RightPanel_footer .mx_RightPanel_invite { @@ -118,7 +119,6 @@ limitations under the License. .mx_RightPanel_invite .mx_RightPanel_icon { display: inline-block; - cursor: pointer; } .mx_RightPanel_invite .mx_RightPanel_icon object {