mirror of
https://github.com/stronk-dev/LivepeerEvents.git
synced 2025-07-05 10:45:10 +02:00
Small layout tweaks
This commit is contained in:
parent
1f680e2032
commit
9ad3f2c862
@ -164,7 +164,7 @@ const EventButton = (obj) => {
|
||||
} else if (transactionName === "Withdraw") {
|
||||
eventSpecificInfo =
|
||||
<div className="rowAlignLeft">
|
||||
<p> withdrew {(transactionAmount / 1000000000000000000).toFixed(2)} LPT in round {transactionWhen}</p>
|
||||
<p> withdrew {(transactionAmount).toFixed(2)} LPT in round {transactionWhen}</p>
|
||||
</div>
|
||||
} else if (transactionName === "Activated") {
|
||||
if (hasBondTransaction) {
|
||||
|
@ -39,7 +39,7 @@ const Orchestrator = (obj) => {
|
||||
|
||||
return (
|
||||
<div className="hostInfo">
|
||||
<div className="strokeSmollLeft" style={{ flex: 1, display: "flex" }}>
|
||||
<div className="strokeSmollLeft" style={{ display: "flex" }}>
|
||||
<div style={{ flexDirection: 'row', flex: 1, display: "flex" }}>
|
||||
<a href={thisUrl}>
|
||||
<img alt="" src="livepeer.png" width="30" height="30" />
|
||||
@ -72,7 +72,7 @@ const Orchestrator = (obj) => {
|
||||
return (
|
||||
<div className="rowAlignLeft" key={"delegator" + idx} style={{ marginLeft: '1em', borderBottom: '2px solid rgba(15,15,15,0.05)' }}>
|
||||
<a href={"https://explorer.livepeer.org/accounts/" + delObj.id}>
|
||||
<img alt="" src="livepeer.png" width="30" height="30" />{delObj.id.substr(0, 6) + ".."}</a>
|
||||
<img alt="" src="livepeer.png" width="30" height="30" />{delObj.id.substr(0, 12) + "..."}</a>
|
||||
<div className="strokeSmollLeft">
|
||||
<p>{parseFloat(delObj.bondedAmount).toFixed(2)} LPT since round {delObj.startRound}</p>
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user