Skip to content

Commit

Permalink
Fix Safari spinner rendering (go-gitea#29801)
Browse files Browse the repository at this point in the history
Fixes: go-gitea#29041
Fixes: go-gitea#29713

Any of the `width: *-content` properties seem to workaround this Webkit
bug, this one seemed most suitable.
  • Loading branch information
silverwind authored and GiteaBot committed Mar 14, 2024
1 parent e0a9a92 commit acc4ff4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions web_src/css/modules/animations.css
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
left: 50%;
top: 50%;
height: min(4em, 66.6%);
width: fit-content; /* compat: safari - https://bugs.webkit.org/show_bug.cgi?id=267625 */
aspect-ratio: 1;
transform: translate(-50%, -50%);
animation: isloadingspin 1000ms infinite linear;
Expand Down

0 comments on commit acc4ff4

Please sign in to comment.