Commit 06ff901ff486d64a04d2987c7f870615b1fe29cc
1 parent
b924d14d
修复 Poptip 嵌套使用时子组件 arrow 颜色异常
Showing
1 changed file
with
4 additions
and
0 deletions
Show diff stats
src/styles/components/poptip.less
@@ -69,6 +69,7 @@ | @@ -69,6 +69,7 @@ | ||
69 | bottom: 1px; | 69 | bottom: 1px; |
70 | margin-left: -@poptip-arrow-width; | 70 | margin-left: -@poptip-arrow-width; |
71 | border-bottom-width: 0; | 71 | border-bottom-width: 0; |
72 | + border-top-width: @poptip-arrow-width; | ||
72 | border-top-color: #fff; | 73 | border-top-color: #fff; |
73 | } | 74 | } |
74 | 75 | ||
@@ -77,6 +78,7 @@ | @@ -77,6 +78,7 @@ | ||
77 | left: 1px; | 78 | left: 1px; |
78 | bottom: -@poptip-arrow-width; | 79 | bottom: -@poptip-arrow-width; |
79 | border-left-width: 0; | 80 | border-left-width: 0; |
81 | + border-right-width: @poptip-arrow-width; | ||
80 | border-right-color: #fff; | 82 | border-right-color: #fff; |
81 | } | 83 | } |
82 | 84 | ||
@@ -85,6 +87,7 @@ | @@ -85,6 +87,7 @@ | ||
85 | top: 1px; | 87 | top: 1px; |
86 | margin-left: -@poptip-arrow-width; | 88 | margin-left: -@poptip-arrow-width; |
87 | border-top-width: 0; | 89 | border-top-width: 0; |
90 | + border-bottom-width: @poptip-arrow-width; | ||
88 | border-bottom-color: #fff; | 91 | border-bottom-color: #fff; |
89 | } | 92 | } |
90 | 93 | ||
@@ -92,6 +95,7 @@ | @@ -92,6 +95,7 @@ | ||
92 | content: " "; | 95 | content: " "; |
93 | right: 1px; | 96 | right: 1px; |
94 | border-right-width: 0; | 97 | border-right-width: 0; |
98 | + border-left-width: @poptip-arrow-width; | ||
95 | border-left-color: #fff; | 99 | border-left-color: #fff; |
96 | bottom: -@poptip-arrow-width; | 100 | bottom: -@poptip-arrow-width; |
97 | } | 101 | } |