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 | 69 | bottom: 1px; |
| 70 | 70 | margin-left: -@poptip-arrow-width; |
| 71 | 71 | border-bottom-width: 0; |
| 72 | + border-top-width: @poptip-arrow-width; | |
| 72 | 73 | border-top-color: #fff; |
| 73 | 74 | } |
| 74 | 75 | |
| ... | ... | @@ -77,6 +78,7 @@ |
| 77 | 78 | left: 1px; |
| 78 | 79 | bottom: -@poptip-arrow-width; |
| 79 | 80 | border-left-width: 0; |
| 81 | + border-right-width: @poptip-arrow-width; | |
| 80 | 82 | border-right-color: #fff; |
| 81 | 83 | } |
| 82 | 84 | |
| ... | ... | @@ -85,6 +87,7 @@ |
| 85 | 87 | top: 1px; |
| 86 | 88 | margin-left: -@poptip-arrow-width; |
| 87 | 89 | border-top-width: 0; |
| 90 | + border-bottom-width: @poptip-arrow-width; | |
| 88 | 91 | border-bottom-color: #fff; |
| 89 | 92 | } |
| 90 | 93 | |
| ... | ... | @@ -92,6 +95,7 @@ |
| 92 | 95 | content: " "; |
| 93 | 96 | right: 1px; |
| 94 | 97 | border-right-width: 0; |
| 98 | + border-left-width: @poptip-arrow-width; | |
| 95 | 99 | border-left-color: #fff; |
| 96 | 100 | bottom: -@poptip-arrow-width; |
| 97 | 101 | } | ... | ... |