Skip to content

Commit ac42c11

Browse files
yardenshohamHenry Goodman
authored and
Henry Goodman
committed
Make loading animation less aggressive (go-gitea#28955)
The current animation loops in a very fast manner, causing a slight feeling of uncomfortableness. This change slows it a bit for a smoother experience. # Before ![before](https://github.com/go-gitea/gitea/assets/20454870/215a722d-feb4-4643-819d-c37a620c5e48) # After ![after](https://github.com/go-gitea/gitea/assets/20454870/7acb1fab-9157-4f4d-8cc7-45fea0234b47) Signed-off-by: Yarden Shoham <git@yardenshoham.com>
1 parent 4dfbda6 commit ac42c11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web_src/css/modules/animations.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
height: min(4em, 66.6%);
2323
aspect-ratio: 1;
2424
transform: translate(-50%, -50%);
25-
animation: isloadingspin 500ms infinite linear;
25+
animation: isloadingspin 1000ms infinite linear;
2626
border-width: 4px;
2727
border-style: solid;
2828
border-color: var(--color-secondary) var(--color-secondary) var(--color-secondary-dark-8) var(--color-secondary-dark-8);

0 commit comments

Comments
 (0)