From 06ff901ff486d64a04d2987c7f870615b1fe29cc Mon Sep 17 00:00:00 2001 From: Chuanfeng Date: Tue, 15 May 2018 19:49:45 +0800 Subject: [PATCH] 修复 Poptip 嵌套使用时子组件 arrow 颜色异常 --- src/styles/components/poptip.less | 4 ++++ 1 file changed, 4 insertions(+), 0 deletions(-) diff --git a/src/styles/components/poptip.less b/src/styles/components/poptip.less index 00e871c..7ec8576 100644 --- a/src/styles/components/poptip.less +++ b/src/styles/components/poptip.less @@ -69,6 +69,7 @@ bottom: 1px; margin-left: -@poptip-arrow-width; border-bottom-width: 0; + border-top-width: @poptip-arrow-width; border-top-color: #fff; } @@ -77,6 +78,7 @@ left: 1px; bottom: -@poptip-arrow-width; border-left-width: 0; + border-right-width: @poptip-arrow-width; border-right-color: #fff; } @@ -85,6 +87,7 @@ top: 1px; margin-left: -@poptip-arrow-width; border-top-width: 0; + border-bottom-width: @poptip-arrow-width; border-bottom-color: #fff; } @@ -92,6 +95,7 @@ content: " "; right: 1px; border-right-width: 0; + border-left-width: @poptip-arrow-width; border-left-color: #fff; bottom: -@poptip-arrow-width; } -- libgit2 0.21.4