mirror of
https://github.com/FlipsideCrypto/user_metrics.git
synced 2026-02-06 11:17:49 +00:00
fix: transaction button styling bug
This commit is contained in:
parent
1e4c0b9d97
commit
e8f4f780bf
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -125,15 +125,7 @@ const TransactionButton = ({ configuration }) => {
|
||||
</button>
|
||||
|
||||
{response?.status &&
|
||||
<div className="transaction__response"
|
||||
// style={{
|
||||
// position: "absolute",
|
||||
// top: "72px", left: "0", right: "0",
|
||||
// margin: "auto",
|
||||
// width: "100%",
|
||||
// textAlign: "center"
|
||||
// }}
|
||||
>
|
||||
<>
|
||||
{response.status === "success" ?
|
||||
<a href={response.url} target="_blank" rel="noreferrer" style={{color: "green"}}>
|
||||
{"Transaction successful!"}
|
||||
@ -143,7 +135,7 @@ const TransactionButton = ({ configuration }) => {
|
||||
{`Transaction failed: ${response.data}`}
|
||||
</p>
|
||||
}
|
||||
</div>
|
||||
</>
|
||||
}
|
||||
</>
|
||||
)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user