Increased hitbox area to the whole invite section, not just the icon

This commit is contained in:
wmwragg 2016-09-14 14:32:30 +01:00
parent 370612135f
commit 66ef5213b8
2 changed files with 3 additions and 3 deletions

View File

@ -244,8 +244,8 @@ module.exports = React.createClass({
</div>
{ panel }
<div className="mx_RightPanel_footer">
<div className="mx_RightPanel_invite" >
<div className="mx_RightPanel_icon" onClick={ this.onInviteButtonClick } >
<div className="mx_RightPanel_invite" onClick={ this.onInviteButtonClick } >
<div className="mx_RightPanel_icon" >
<TintableSvg src="img/icon-invite-people.svg" width="35" height="35" />
</div>
<div className="mx_RightPanel_message">Invite to this room</div>

View File

@ -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 {