@@ -55,7 +55,7 @@ function generateStyle(
5555 content: "";
5656 background-color: inherit;
5757 position: absolute;
58- z-index: 2 ;
58+ z-index: -1 ;
5959 width: 18px;
6060 height: 10px;
6161 }
@@ -67,7 +67,7 @@ function generateStyle(
6767 border-top-right-radius: ${ arrowRadius } px;
6868 border: 1px solid ${ borderColor } ;
6969 background-color: ${ arrowColor } ;
70- z-index: 1 ;
70+ z-index: -2 ;
7171 bottom: -6px;
7272 left: 50%;
7373 margin-left: -8px;
@@ -81,7 +81,7 @@ function generateStyle(
8181 content: "";
8282 background-color: inherit;
8383 position: absolute;
84- z-index: 2 ;
84+ z-index: -1 ;
8585 width: 18px;
8686 height: 10px;
8787 }
@@ -93,7 +93,7 @@ function generateStyle(
9393 border-top-right-radius: ${ arrowRadius } px;
9494 border: 1px solid ${ borderColor } ;
9595 background-color: ${ arrowColor } ;
96- z-index: 1 ;
96+ z-index: -2 ;
9797 top: -6px;
9898 left: 50%;
9999 margin-left: -8px;
@@ -107,7 +107,7 @@ function generateStyle(
107107 content: "";
108108 background-color: inherit;
109109 position: absolute;
110- z-index: 2 ;
110+ z-index: -1 ;
111111 width: 10px;
112112 height: 18px;
113113 }
@@ -119,7 +119,7 @@ function generateStyle(
119119 border-top-right-radius: ${ arrowRadius } px;
120120 border: 1px solid ${ borderColor } ;
121121 background-color: ${ arrowColor } ;
122- z-index: 1 ;
122+ z-index: -2 ;
123123 right: -6px;
124124 top: 50%;
125125 margin-top: -6px;
@@ -133,7 +133,7 @@ function generateStyle(
133133 content: "";
134134 background-color: inherit;
135135 position: absolute;
136- z-index: 2 ;
136+ z-index: -1 ;
137137 width: 10px;
138138 height: 18px;
139139 }
@@ -145,7 +145,7 @@ function generateStyle(
145145 border-top-right-radius: ${ arrowRadius } px;
146146 border: 1px solid ${ borderColor } ;
147147 background-color: ${ arrowColor } ;
148- z-index: 1 ;
148+ z-index: -2 ;
149149 left: -6px;
150150 top: 50%;
151151 margin-top: -6px;
0 commit comments