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> </div>
{ panel } { panel }
<div className="mx_RightPanel_footer"> <div className="mx_RightPanel_footer">
<div className="mx_RightPanel_invite" > <div className="mx_RightPanel_invite" onClick={ this.onInviteButtonClick } >
<div className="mx_RightPanel_icon" onClick={ this.onInviteButtonClick } > <div className="mx_RightPanel_icon" >
<TintableSvg src="img/icon-invite-people.svg" width="35" height="35" /> <TintableSvg src="img/icon-invite-people.svg" width="35" height="35" />
</div> </div>
<div className="mx_RightPanel_message">Invite to this room</div> <div className="mx_RightPanel_message">Invite to this room</div>

View file

@ -110,6 +110,7 @@ limitations under the License.
color: #4A4A4A; color: #4A4A4A;
padding-top: 13px; padding-top: 13px;
padding-left: 5px; padding-left: 5px;
cursor: pointer;
} }
.collapsed .mx_RightPanel_footer .mx_RightPanel_invite { .collapsed .mx_RightPanel_footer .mx_RightPanel_invite {
@ -118,7 +119,6 @@ limitations under the License.
.mx_RightPanel_invite .mx_RightPanel_icon { .mx_RightPanel_invite .mx_RightPanel_icon {
display: inline-block; display: inline-block;
cursor: pointer;
} }
.mx_RightPanel_invite .mx_RightPanel_icon object { .mx_RightPanel_invite .mx_RightPanel_icon object {