File tree Expand file tree Collapse file tree 2 files changed +15
-8
lines changed Expand file tree Collapse file tree 2 files changed +15
-8
lines changed Original file line number Diff line number Diff line change @@ -56,8 +56,8 @@ function generateStyle(
5656 background-color: inherit;
5757 position: absolute;
5858 z-index: 2;
59- width: 18px ;
60- height: 10px ;
59+ width: 20px ;
60+ height: 12px ;
6161 }
6262 .${ uuid } .place-top::after {
6363 content: "";
@@ -70,7 +70,7 @@ function generateStyle(
7070 z-index: 1;
7171 bottom: -6px;
7272 left: 50%;
73- margin-left: -8px ;
73+ margin-left: -6px ;
7474 transform: rotate(135deg);
7575 }
7676
@@ -96,7 +96,7 @@ function generateStyle(
9696 z-index: 1;
9797 top: -6px;
9898 left: 50%;
99- margin-left: -8px ;
99+ margin-left: -6px ;
100100 transform: rotate(45deg);
101101 }
102102
Original file line number Diff line number Diff line change @@ -88,8 +88,13 @@ describe('Tooltip', () => {
8888 }
8989 ] ,
9090 [
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+ }
9398 ] ,
9499 [
95100 { textColor : 'green' , arrowColor : 'red' } ,
@@ -185,7 +190,8 @@ describe('Tooltip', () => {
185190 border : true ,
186191 borderColor : 'blue' ,
187192 arrowRadius : '2' ,
188- tooltipRadius : '4'
193+ tooltipRadius : '4' ,
194+ arrowColor : '#222'
189195 } ,
190196 {
191197 popupType : 'type-custom' ,
@@ -201,7 +207,8 @@ describe('Tooltip', () => {
201207 {
202208 border : true ,
203209 borderClass : 'custom-border-class' ,
204- borderColor : '#414141'
210+ borderColor : '#414141' ,
211+ arrowColor : '#222'
205212 } ,
206213 {
207214 borderColor : '#414141' ,
You can’t perform that action at this time.
0 commit comments