From 29b51f836f6ef65ce7bca7cbe6dc5ebc6fbe0be0 Mon Sep 17 00:00:00 2001 From: Lykin <137850705+tiny-craft@users.noreply.github.com> Date: Wed, 24 Jul 2024 11:30:06 +0800 Subject: [PATCH] pref: replace linear css animation due to it takes a lot of CPU --- frontend/src/styles/style.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/styles/style.scss b/frontend/src/styles/style.scss index 3f0bcc2..f9df3f6 100644 --- a/frontend/src/styles/style.scss +++ b/frontend/src/styles/style.scss @@ -174,7 +174,7 @@ body { } .auto-rotate { - animation: rotate 2s linear infinite; + animation: rotate 2s steps(60) infinite; } .pre-wrap {