Refactor so that the tooltip positional tweaks can be done in CSS rather than passed in as parameters
This commit is contained in:
parent
38ac520e1e
commit
7cb48e0d2d
5 changed files with 20 additions and 18 deletions
|
@ -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} />;
|
||||
}
|
||||
},
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue