Skip to content

Commit 3dabe72

Browse files
committed
Remove annoying animation
1 parent 514cf0e commit 3dabe72

2 files changed

Lines changed: 1 addition & 17 deletions

File tree

src/components/BottomControls/BottomControls.tsx

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -60,19 +60,9 @@ export const BottomControls = () => {
6060
<Stack gap={1} direction="row" sx={{ alignItems: "center" }}>
6161
<Box
6262
sx={{
63-
"@keyframes rotate": {
64-
from: { "--angle": "0deg" },
65-
to: { "--angle": "360deg" },
66-
},
67-
"--angle": "0deg",
68-
backgroundImage:
69-
"conic-gradient(from var(--angle), #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #002bff, #7a00ff, #ff00c1, #ff0000)",
70-
transition: "all 0.5s",
63+
backgroundImage: "conic-gradient(#ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #002bff, #7a00ff, #ff00c1, #ff0000)",
7164
borderRadius: 1,
7265
p: "1px",
73-
"&:has(button:hover), &:has(button:focus)": {
74-
animation: "rotate 1.6s linear infinite",
75-
},
7666
}}
7767
>
7868
<Button

src/index.css

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
1-
@property --angle {
2-
syntax: "<angle>";
3-
initial-value: 0deg;
4-
inherits: false;
5-
}
6-
71
html,
82
body,
93
#root {

0 commit comments

Comments
 (0)