-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update TokenInput onClickMax button to work, wrap in useCallback * Fix Max input for TokenInput * Update input to hide scrollbar * Fix Deposit bug * Wrap sumBigNUmbersFromState with useCallback to update when args change * Scratch above * Fix Pools approve function to point towards correct approver address * Input autocomplete off * Update PoolsCardTitle to not set via innerHtml * Line up LoadingSpinner to start of div, account for before pseudoclass * Update LoadingSpinner to not affect other instances * .. * Fix cypress gh actions issue * ... * Update DestinationTx.tsx * i think --------- Co-authored-by: Jonah Lin <[email protected]> Co-authored-by: Simon <[email protected]>
- Loading branch information
1 parent
d574fed
commit 66f3dc4
Showing
10 changed files
with
47 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 8 additions & 2 deletions
10
packages/synapse-interface/components/ui/tailwind/LoadingSpinner.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,15 @@ | ||
export default function LoadingSpinner({ className }: { className?: string }) { | ||
export default function LoadingSpinner({ | ||
className, | ||
shift = false, | ||
}: { | ||
className?: string | ||
shift?: boolean | ||
}) { | ||
return ( | ||
<div | ||
className={`inline-flex items-center justify-center pr-3 ${className}`} | ||
> | ||
<div className="dot-flashing"></div> | ||
<div className={`dot-flashing ${shift ? 'left-[12px]' : ''}`}></div> | ||
</div> | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters