Refactor so that the tooltip positional tweaks can be done in CSS rather than passed in as parameters
This commit is contained in:
@@ -79,7 +79,7 @@ module.exports = React.createClass({
|
||||
getLabel: function(label, show) {
|
||||
if (show) {
|
||||
var RoomTooltip = sdk.getComponent("rooms.RoomTooltip");
|
||||
return <RoomTooltip label={label} left={6} top={this.props.collapsed ? 3 : null} />;
|
||||
return <RoomTooltip className="mx_BottomLeftMenu_tooltip" label={label} />;
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user