Skip to content

Commit

Permalink
Merge pull request #1227 from DarkFlorist/gas-fee-line
Browse files Browse the repository at this point in the history
show gas fee line better
  • Loading branch information
KillariDev authored Dec 13, 2024
2 parents bc0aa96 + 5aa46f0 commit c530822
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/ts/components/pages/ConfirmTransaction.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ function TransactionCard(param: TransactionCardParams) {
renameAddressCallBack = { param.renameAddressCallBack }
/>

<span class = 'log-table' style = 'margin-top: 10px; grid-template-columns: 33.33% 33.33% 33.33%;'>
<span class = 'log-table' style = 'margin-top: 10px; grid-template-columns: max-content auto auto; grid-column-gap: 5px;'>
<div class = 'log-cell'>
<span class = 'log-table' style = { { display: 'inline-flex'} }>
<GasFee tx = { simTx } rpcNetwork = { simulationAndVisualisationResults.rpcNetwork } />
Expand Down
4 changes: 2 additions & 2 deletions app/ts/components/simulationExplaining/SimulationSummary.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -621,7 +621,7 @@ export function TransactionHeaderForFailedToSimulate({ website } : { website: We
}

export function TransactionCreated({ created } : { created: EthereumTimestamp }) {
return <p style = 'color: var(--subtitle-text-color); text-align: right; display: inline'>
return <p style = 'color: var(--subtitle-text-color); text-align: right; display: inline; text-overflow: ellipsis; overflow: hidden;'>
{ 'Created ' }
<SomeTimeAgo priorTimestamp = { created } diffToText = { humanReadableDateDeltaLessDetailed }/>
</p>
Expand All @@ -633,7 +633,7 @@ export function SimulatedInBlockNumber({ simulationBlockNumber, currentBlockNumb
contentDisplayOverride = { `Simulated in block number ${ simulationBlockNumber }` }
copyMessage = 'Block number copied!'
>
<p style = 'color: var(--subtitle-text-color); text-align: right; display: inline'>
<p style = 'color: var(--subtitle-text-color); text-align: right; display: inline; text-overflow: ellipsis; overflow: hidden;'>
{ 'Simulated ' }
<span style = { `font-weight: bold; font-family: monospace; color: ${
simulationBlockNumber === currentBlockNumber && (rpcConnectionStatus.value?.isConnected || rpcConnectionStatus === undefined) ? 'var(--positive-color)' :
Expand Down

0 comments on commit c530822

Please sign in to comment.