opacity fix

This commit is contained in:
ArtChaos189 2023-05-25 16:10:30 +03:00 committed by Nastya
parent 58a5e339f3
commit 119a56a656

@ -11,27 +11,22 @@ export default function FloatingSupportChat() {
"0%": {
left: "0",
backgroundColor: "transparent",
opacity: "0.4",
},
"10%": {
backgroundColor: "#ffffff",
opacity: "1",
},
"50%": {
backgroundColor: "#ffffff",
transform: "translate(400px, 0)",
opacity: "1",
},
"80%": {
backgroundColor: "#ffffff",
opacity: "1",
},
"100%": {
backgroundColor: "transparent",
boxShadow: "none",
left: "100%",
opacity: "1",
},
},
};
@ -85,7 +80,7 @@ export default function FloatingSupportChat() {
animation: "runningStripe linear 3s infinite",
transform: " skew(-10deg) rotate(60deg) skewX(20deg) skewY(10deg)",
boxShadow: "0px 3px 12px rgba(126, 42, 234, 0.1)",
opacity: "1",
opacity: "0.4",
...animation,
}}
/>