Skip to content

Commit

Permalink
hamid/webrel-1108/refresh button style (binary-com#9777)
Browse files Browse the repository at this point in the history
* fix: refresh button style

* fix: refresh button style
  • Loading branch information
hamid-deriv committed Aug 22, 2023
1 parent bc8882d commit f8d34f0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,12 @@
border-radius: 0 $BORDER_RADIUS $BORDER_RADIUS 0;
padding: 1rem;
}

&__error {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 2.4rem;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ const DepositCryptoWalletAddress: React.FC = observer(() => {

if (error) {
return (
<>
<div className='deposit-crypto-wallet-address__error'>
<InlineMessage
type='warning'
message={localize(
"Unfortunately, we couldn't get the address since our server was down. Please click Refresh to reload the address or try again later."
)}
/>
<Button text={localize('Refresh')} onClick={() => resend()} secondary small />
</>
</div>
);
}

Expand Down

0 comments on commit f8d34f0

Please sign in to comment.