mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-17 22:14:58 +08:00
make selected room more skinnable
This commit is contained in:
parent
0741e8a5c1
commit
2d71d4422e
@ -104,7 +104,10 @@ module.exports = React.createClass({
|
||||
var label;
|
||||
if (!this.props.collapsed) {
|
||||
var className = 'mx_RoomTile_name' + (this.props.isInvite ? ' mx_RoomTile_invite' : '');
|
||||
label = <div className={ className }>{name}</div>;
|
||||
if (this.props.selected) {
|
||||
name = <span>{ name }</span>;
|
||||
}
|
||||
label = <div className={ className }>{ name }</div>;
|
||||
}
|
||||
else if (this.state.hover) {
|
||||
var RoomTooltip = sdk.getComponent("rooms.RoomTooltip");
|
||||
|
Loading…
Reference in New Issue
Block a user