Skip to content

Commit 66ef521

Browse files
committed
Increased hitbox area to the whole invite section, not just the icon
1 parent 3706121 commit 66ef521

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/components/structures/RightPanel.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -244,8 +244,8 @@ module.exports = React.createClass({
244244
</div>
245245
{ panel }
246246
<div className="mx_RightPanel_footer">
247-
<div className="mx_RightPanel_invite" >
248-
<div className="mx_RightPanel_icon" onClick={ this.onInviteButtonClick } >
247+
<div className="mx_RightPanel_invite" onClick={ this.onInviteButtonClick } >
248+
<div className="mx_RightPanel_icon" >
249249
<TintableSvg src="img/icon-invite-people.svg" width="35" height="35" />
250250
</div>
251251
<div className="mx_RightPanel_message">Invite to this room</div>

src/skins/vector/css/vector-web/structures/RightPanel.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ limitations under the License.
110110
color: #4A4A4A;
111111
padding-top: 13px;
112112
padding-left: 5px;
113+
cursor: pointer;
113114
}
114115

115116
.collapsed .mx_RightPanel_footer .mx_RightPanel_invite {
@@ -118,7 +119,6 @@ limitations under the License.
118119

119120
.mx_RightPanel_invite .mx_RightPanel_icon {
120121
display: inline-block;
121-
cursor: pointer;
122122
}
123123

124124
.mx_RightPanel_invite .mx_RightPanel_icon object {

0 commit comments

Comments
 (0)