mirror of https://github.com/vector-im/riot-web
Refactor so that the tooltip positional tweaks can be done in CSS rather than passed in as parameters
parent
d1974a75fd
commit
840bfe84c1
|
@ -246,10 +246,9 @@ module.exports = React.createClass({
|
|||
} else {
|
||||
label = <EmojiText element="div" title={ name } className={ nameClasses }>{name}</EmojiText>;
|
||||
}
|
||||
}
|
||||
else if (this.state.hover) {
|
||||
} else if (this.state.hover) {
|
||||
var RoomTooltip = sdk.getComponent("rooms.RoomTooltip");
|
||||
tooltip = <RoomTooltip room={this.props.room} top={4} left={-14} />;
|
||||
tooltip = <RoomTooltip className="mx_RoomTile_tooltip" room={this.props.room} />;
|
||||
}
|
||||
|
||||
var incomingCallBox;
|
||||
|
|
Loading…
Reference in New Issue