Skip to content

Commit

Permalink
Tweak tooltip background and fix basic demo
Browse files Browse the repository at this point in the history
  • Loading branch information
afc163 committed Aug 25, 2017
1 parent 0d26b4c commit 3d322a7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/style/themes/default.less
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@
//** Tooltip text color
@tooltip-color: #fff;
//** Tooltip background color
@tooltip-bg: rgba(64, 64, 64, .85);
@tooltip-bg: rgba(0, 0, 0, .75);
//** Tooltip arrow width
@tooltip-arrow-width: 5px;
//** Tooltip distance with trigger
Expand Down
2 changes: 1 addition & 1 deletion components/tooltip/demo/basic.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ The simplest usage.
import { Tooltip } from 'antd';

ReactDOM.render(
<Tooltip title={undefined}>
<Tooltip title="prompt text">
<span>Tooltip will show when mouse enter.</span>
</Tooltip>
, mountNode);
Expand Down

0 comments on commit 3d322a7

Please sign in to comment.