mirror of
https://github.com/go-gitea/gitea
synced 2024-11-19 06:09:27 +01:00
Fix Safari spinner rendering (#29801)
Fixes: https://github.com/go-gitea/gitea/issues/29041 Fixes: https://github.com/go-gitea/gitea/pull/29713 Any of the `width: *-content` properties seem to workaround this Webkit bug, this one seemed most suitable.
This commit is contained in:
parent
0679e60c77
commit
35def319fd
@ -20,6 +20,7 @@
|
|||||||
left: 50%;
|
left: 50%;
|
||||||
top: 50%;
|
top: 50%;
|
||||||
height: min(4em, 66.6%);
|
height: min(4em, 66.6%);
|
||||||
|
width: fit-content; /* compat: safari - https://bugs.webkit.org/show_bug.cgi?id=267625 */
|
||||||
aspect-ratio: 1;
|
aspect-ratio: 1;
|
||||||
transform: translate(-50%, -50%);
|
transform: translate(-50%, -50%);
|
||||||
animation: isloadingspin 1000ms infinite linear;
|
animation: isloadingspin 1000ms infinite linear;
|
||||||
|
Loading…
Reference in New Issue
Block a user