From 3d322a7c041e5bb1e16b7ba91630017b2b0a2651 Mon Sep 17 00:00:00 2001 From: afc163 Date: Fri, 25 Aug 2017 10:11:22 +0800 Subject: [PATCH] Tweak tooltip background and fix basic demo --- components/style/themes/default.less | 2 +- components/tooltip/demo/basic.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/style/themes/default.less b/components/style/themes/default.less index 0458a1611013..bf1d3ce8d647 100644 --- a/components/style/themes/default.less +++ b/components/style/themes/default.less @@ -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 diff --git a/components/tooltip/demo/basic.md b/components/tooltip/demo/basic.md index 7d8d3982aa31..356223f58e83 100644 --- a/components/tooltip/demo/basic.md +++ b/components/tooltip/demo/basic.md @@ -17,7 +17,7 @@ The simplest usage. import { Tooltip } from 'antd'; ReactDOM.render( - + Tooltip will show when mouse enter. , mountNode);