})}>
<a className="link-base-color link-no-underline" href="#" onClick={this.handleClick}>
<BranchIcon branch={currentBranch} className="little-spacer-right" />
- {currentBranch.name}
+ <Tooltip overlay={currentBranch.name} mouseEnterDelay={1}>
+ <span className="text-limited text-top">{currentBranch.name}</span>
+ </Tooltip>
<i className="icon-dropdown little-spacer-left" />
</a>
{this.renderDropdown()}
}
className="little-spacer-right"
/>
- master
+ <Tooltip
+ mouseEnterDelay={1}
+ overlay="master"
+ placement="bottom"
+ >
+ <span
+ className="text-limited text-top"
+ >
+ master
+ </span>
+ </Tooltip>
<i
className="icon-dropdown little-spacer-left"
/>
}
className="little-spacer-right"
/>
- foo
+ <Tooltip
+ mouseEnterDelay={1}
+ overlay="foo"
+ placement="bottom"
+ >
+ <span
+ className="text-limited text-top"
+ >
+ foo
+ </span>
+ </Tooltip>
<i
className="icon-dropdown little-spacer-left"
/>