File tree 2 files changed +16
-9
lines changed
2 files changed +16
-9
lines changed Original file line number Diff line number Diff line change @@ -55,9 +55,9 @@ function generateStyle(
55
55
content: "";
56
56
background-color: inherit;
57
57
position: absolute;
58
- z-index: -1 ;
59
- width: 18px ;
60
- height: 10px ;
58
+ z-index: 2 ;
59
+ width: 20px ;
60
+ height: 12px ;
61
61
}
62
62
.${ uuid } .place-top::after {
63
63
content: "";
@@ -70,7 +70,7 @@ function generateStyle(
70
70
z-index: -2;
71
71
bottom: -6px;
72
72
left: 50%;
73
- margin-left: -8px ;
73
+ margin-left: -6px ;
74
74
transform: rotate(135deg);
75
75
}
76
76
@@ -96,7 +96,7 @@ function generateStyle(
96
96
z-index: -2;
97
97
top: -6px;
98
98
left: 50%;
99
- margin-left: -8px ;
99
+ margin-left: -6px ;
100
100
transform: rotate(45deg);
101
101
}
102
102
Original file line number Diff line number Diff line change @@ -88,8 +88,13 @@ describe('Tooltip', () => {
88
88
}
89
89
] ,
90
90
[
91
- { textColor : 'teal' , backgroundColor : 'orange' } ,
92
- { popupType : 'type-custom' , textColor : 'teal' , background : 'orange' }
91
+ { textColor : 'teal' , backgroundColor : 'orange' , arrowColor : 'orange' } ,
92
+ {
93
+ popupType : 'type-custom' ,
94
+ textColor : 'teal' ,
95
+ background : 'orange' ,
96
+ arrowColor : 'orange'
97
+ }
93
98
] ,
94
99
[
95
100
{ textColor : 'green' , arrowColor : 'red' } ,
@@ -185,7 +190,8 @@ describe('Tooltip', () => {
185
190
border : true ,
186
191
borderColor : 'blue' ,
187
192
arrowRadius : '2' ,
188
- tooltipRadius : '4'
193
+ tooltipRadius : '4' ,
194
+ arrowColor : '#222'
189
195
} ,
190
196
{
191
197
popupType : 'type-custom' ,
@@ -201,7 +207,8 @@ describe('Tooltip', () => {
201
207
{
202
208
border : true ,
203
209
borderClass : 'custom-border-class' ,
204
- borderColor : '#414141'
210
+ borderColor : '#414141' ,
211
+ arrowColor : '#222'
205
212
} ,
206
213
{
207
214
borderColor : '#414141' ,
You can’t perform that action at this time.
0 commit comments