File tree Expand file tree Collapse file tree 4 files changed +13
-9
lines changed Expand file tree Collapse file tree 4 files changed +13
-9
lines changed Original file line number Diff line number Diff line change @@ -165,6 +165,7 @@ module.exports = React.createClass({
165
165
var FilePanel = sdk . getComponent ( 'structures.FilePanel' ) ;
166
166
var TintableSvg = sdk . getComponent ( "elements.TintableSvg" ) ;
167
167
var buttonGroup ;
168
+ var inviteGroup ;
168
169
var panel ;
169
170
170
171
var filesHighlight ;
@@ -210,6 +211,14 @@ module.exports = React.createClass({
210
211
{ notificationsHighlight }
211
212
</ div >
212
213
</ div > ;
214
+
215
+ inviteGroup =
216
+ < div className = "mx_RightPanel_invite" onClick = { this . onInviteButtonClick } >
217
+ < div className = "mx_RightPanel_icon" >
218
+ < TintableSvg src = "img/icon-invite-people.svg" width = "35" height = "35" />
219
+ </ div >
220
+ < div className = "mx_RightPanel_message" > Invite to this room</ div >
221
+ </ div > ;
213
222
}
214
223
215
224
if ( ! this . props . collapsed ) {
@@ -244,12 +253,7 @@ module.exports = React.createClass({
244
253
</ div >
245
254
{ panel }
246
255
< div className = "mx_RightPanel_footer" >
247
- < div className = "mx_RightPanel_invite" >
248
- < div className = "mx_RightPanel_icon" onClick = { this . onInviteButtonClick } >
249
- < TintableSvg src = "img/icon-invite-people.svg" width = "35" height = "35" />
250
- </ div >
251
- < div className = "mx_RightPanel_message" > Invite to this room</ div >
252
- </ div >
256
+ { inviteGroup }
253
257
</ div >
254
258
</ aside >
255
259
) ;
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ limitations under the License.
44
44
padding-bottom : 1px ;
45
45
max-height : 150px ;
46
46
overflow-x : hidden;
47
- overflow-y : scroll ;
47
+ overflow-y : auto ;
48
48
}
49
49
50
50
.mx_ChatInviteDialog_error {
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ limitations under the License.
19
19
background-color : # fff ;
20
20
width : 485px ;
21
21
max-height : 116px ;
22
- overflow-y : scroll ;
22
+ overflow-y : auto ;
23
23
border-radius : 3px ;
24
24
background-color : # fff ;
25
25
border : solid 1px # 76cfa6 ;
Original file line number Diff line number Diff line change @@ -110,6 +110,7 @@ limitations under the License.
110
110
color : # 4A4A4A ;
111
111
padding-top : 13px ;
112
112
padding-left : 5px ;
113
+ cursor : pointer;
113
114
}
114
115
115
116
.collapsed .mx_RightPanel_footer .mx_RightPanel_invite {
@@ -118,7 +119,6 @@ limitations under the License.
118
119
119
120
.mx_RightPanel_invite .mx_RightPanel_icon {
120
121
display : inline-block;
121
- cursor : pointer;
122
122
}
123
123
124
124
.mx_RightPanel_invite .mx_RightPanel_icon object {
You can’t perform that action at this time.
0 commit comments