Skip to content

Commit

Permalink
code review feedback on ToolTip
Browse files Browse the repository at this point in the history
  • Loading branch information
sodiumjoe committed May 19, 2016
1 parent 491de66 commit 906ccc4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/ToolTip/ToolTip.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ const ToolTip = createClass({

return (
<ContextMenu
className={className}
className={cx('&', className)}
alignment={ContextMenu.CENTER}
direction={direction}
directonOffset={15}
Expand All @@ -214,15 +214,15 @@ const ToolTip = createClass({
onMouseOver={this.handleMouseOverTarget}
onMouseOut={this.handleMouseOutTarget}
>
<Target className={className}>
<Target className={cx('&-Target')}>
{target}
</Target>
<FlyOut
style={{
...flyOutStyle,
maxWidth: flyOutMaxWidth || flyOutStyle.maxWidth || 200
}}
className={flyOutCx('className', '&', `&-${direction}`, `&-${alignment}`, `&-${kind}`)}
className={flyOutCx(className, '&', `&-${direction}`, `&-${alignment}`, `&-${kind}`)}
onMouseOver={this.handleMouseOverFlyout}
onMouseOut={this.handleMouseOutFlyout}
>
Expand Down

0 comments on commit 906ccc4

Please sign in to comment.