Allow theming member info minimise button
parent
19977b052f
commit
09ed795c79
|
@ -34,6 +34,10 @@ limitations under the License.
|
||||||
height: 16px;
|
height: 16px;
|
||||||
padding: 10px 15px;
|
padding: 10px 15px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
mask-image: url('$(res)/img/minimise.svg');
|
||||||
|
mask-repeat: no-repeat;
|
||||||
|
mask-position: center;
|
||||||
|
background-color: $rightpanel-button-color;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mx_MemberInfo_name h2 {
|
.mx_MemberInfo_name h2 {
|
||||||
|
|
|
@ -983,9 +983,10 @@ module.exports = withMatrixClient(React.createClass({
|
||||||
return (
|
return (
|
||||||
<div className="mx_MemberInfo">
|
<div className="mx_MemberInfo">
|
||||||
<div className="mx_MemberInfo_name">
|
<div className="mx_MemberInfo_name">
|
||||||
<AccessibleButton className="mx_MemberInfo_cancel" onClick={this.onCancel}>
|
<AccessibleButton className="mx_MemberInfo_cancel"
|
||||||
<img src={require("../../../../res/img/minimise.svg")} width="10" height="16" className="mx_filterFlipColor" alt={_t('Close')} />
|
onClick={this.onCancel}
|
||||||
</AccessibleButton>
|
title={_t('Close')}
|
||||||
|
/>
|
||||||
{ e2eIconElement }
|
{ e2eIconElement }
|
||||||
<EmojiText element="h2">{ memberName }</EmojiText>
|
<EmojiText element="h2">{ memberName }</EmojiText>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue