Updated tooltip styling to be better inline with the design

This commit is contained in:
wmwragg 2016-09-03 13:57:49 +01:00
parent ab9f48cd47
commit d1dd4bd3d8
3 changed files with 22 additions and 6 deletions
src/components/structures

View file

@ -77,7 +77,7 @@ module.exports = React.createClass({
// Get the label/tooltip to show
getLabel: function(label, parent, show) {
if (true) {
if (show) {
var RoomTooltip = sdk.getComponent("rooms.RoomTooltip");
return <RoomTooltip label={label} parent={parent} left={6} top={this.props.collapsed ? 3 : null} />;
}