Updated tooltip styling to be better inline with the design
This commit is contained in:
parent
ab9f48cd47
commit
d1dd4bd3d8
3 changed files with 22 additions and 6 deletions
src/components
|
@ -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} />;
|
||||
}
|
||||
|
|
|
@ -103,8 +103,8 @@ module.exports = React.createClass({
|
|||
|
||||
var tooltip = (
|
||||
<div className="mx_RoomTooltip" style={style} >
|
||||
<img className="mx_RoomTooltip_chevron" src="img/chevron-left.png" width="9" height="16"/>
|
||||
{ label }
|
||||
<div className="mx_RoomTooltip_chevron"></div>
|
||||
{ label }
|
||||
</div>
|
||||
);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue