Skip to content

Commit 35def31

Browse files
authored
Fix Safari spinner rendering (#29801)
Fixes: #29041 Fixes: #29713 Any of the `width: *-content` properties seem to workaround this Webkit bug, this one seemed most suitable.
1 parent 0679e60 commit 35def31

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

web_src/css/modules/animations.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
left: 50%;
2121
top: 50%;
2222
height: min(4em, 66.6%);
23+
width: fit-content; /* compat: safari - https://bugs.webkit.org/show_bug.cgi?id=267625 */
2324
aspect-ratio: 1;
2425
transform: translate(-50%, -50%);
2526
animation: isloadingspin 1000ms infinite linear;

0 commit comments

Comments
 (0)