Skip to content

Commit

Permalink
Merge pull request #252 from radixdlt/RDT-221
Browse files Browse the repository at this point in the history
fix: pending request spinner in safari
  • Loading branch information
dawidsowardx authored Sep 17, 2024
2 parents 5eab5c7 + 8777a9e commit 06a53a5
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/connect-button/src/assets/icon-loading.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions packages/connect-button/src/components/card/card.ts
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,14 @@ export class RadixCard extends LitElement {
mask-image: url(${unsafeCSS(IconLoading)});
width: 24px;
height: 24px;
transform-origin: center;
animation: spinner 0.75s infinite linear;
}
@keyframes spinner {
100% {
transform: rotate(360deg);
}
}
:host([icon='ignored']) i::before {
Expand Down

0 comments on commit 06a53a5

Please sign in to comment.