tinterize more svg
This commit is contained in:
parent
17b8982c75
commit
bbf08d99cc
5 changed files with 6 additions and 42 deletions
|
@ -127,12 +127,12 @@ module.exports = React.createClass({
|
|||
buttonGroup =
|
||||
<div className="mx_RightPanel_headerButtonGroup">
|
||||
<div className="mx_RightPanel_headerButton" title="Members" onClick={ this.onMemberListButtonClick }>
|
||||
<object type="image/svg+xml" data="img/members.svg" width="17" height="22"/>
|
||||
<object className="mx_Svg" type="image/svg+xml" data="img/members.svg" width="17" height="22"/>
|
||||
{ membersBadge }
|
||||
{ membersHighlight }
|
||||
</div>
|
||||
<div className="mx_RightPanel_headerButton mx_RightPanel_filebutton" title="Files">
|
||||
<object type="image/svg+xml" data="img/files.svg" width="17" height="22"/>
|
||||
<object className="mx_Svg" type="image/svg+xml" data="img/files.svg" width="17" height="22"/>
|
||||
{ filesHighlight }
|
||||
</div>
|
||||
</div>;
|
||||
|
|
|
@ -257,8 +257,7 @@ var RoomSubList = React.createClass({
|
|||
unread={ self.props.activityMap[room.roomId] === 1 }
|
||||
highlight={ self.props.activityMap[room.roomId] === 2 }
|
||||
isInvite={ self.props.label === 'Invites' }
|
||||
incomingCall={ self.props.incomingCall && (self.props.incomingCall.roomId === room.roomId) ? self.props.incomingCall : null }
|
||||
/>
|
||||
incomingCall={ self.props.incomingCall && (self.props.incomingCall.roomId === room.roomId) ? self.props.incomingCall : null } />
|
||||
);
|
||||
});
|
||||
},
|
||||
|
@ -267,8 +266,8 @@ var RoomSubList = React.createClass({
|
|||
return (
|
||||
<h2 onClick={ this.onClick } className="mx_RoomSubList_label">
|
||||
{ this.props.collapsed ? '' : this.props.label }
|
||||
<img className="mx_RoomSubList_chevron"
|
||||
src={ this.state.hidden ? "img/list-close.svg" : "img/list-open.svg" }
|
||||
<object type="image/svg+xml" className="mx_RoomSubList_chevron mx_Svg"
|
||||
data={ this.state.hidden ? "img/list-close.svg" : "img/list-open.svg" }
|
||||
width="10" height="10" />
|
||||
</h2>
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue