diff --git a/web/cashtab/src/components/Home/Tx.js b/web/cashtab/src/components/Home/Tx.js --- a/web/cashtab/src/components/Home/Tx.js +++ b/web/cashtab/src/components/Home/Tx.js @@ -108,12 +108,7 @@ font-weight: 700; margin: 0; } - .genesis { - color: ${props => props.theme.genesisGreen}; - } - .received { - color: ${props => props.theme.eCashBlue}; - } + h4 { font-size: 12px; color: ${props => props.theme.lightWhite}; @@ -194,12 +189,7 @@ font-weight: 700; margin: 0; } - .genesis { - color: ${props => props.theme.genesisGreen}; - } - .received { - color: ${props => props.theme.eCashBlue}; - } + h4 { font-size: 12px; color: ${props => props.theme.lightWhite}; @@ -247,6 +237,14 @@ overflow: hidden; text-overflow: ellipsis; `; + +const TokenTxAmtGenesis = styled(TokenTxAmt)` + color: ${props => props.theme.genesisGreen} !important; +`; +const TokenTxAmtReceived = styled(TokenTxAmt)` + color: ${props => props.theme.eCashBlue} !important; +`; + const TokenName = styled.h4` text-align: right; white-space: nowrap; @@ -358,7 +356,7 @@ Open in Explorer ) : ( - + - + +{' '} {data.tokenInfo.qtyReceived.toString()}   @@ -439,7 +437,7 @@ .tokenInfo .tokenTicker } - + { data @@ -472,7 +470,7 @@ ) : ( - + +{' '} {data.tokenInfo.qtyReceived.toString()}   @@ -481,7 +479,7 @@ .tokenInfo .tokenTicker } - + { data @@ -546,7 +544,7 @@ ) : ( <> -

+ + {formatBalance( fromLegacyDecimals( @@ -556,7 +554,7 @@ { currency.ticker } -

+ {fiatPrice !== null && !isNaN( diff --git a/web/cashtab/src/components/Home/__tests__/__snapshots__/Home.test.js.snap b/web/cashtab/src/components/Home/__tests__/__snapshots__/Home.test.js.snap --- a/web/cashtab/src/components/Home/__tests__/__snapshots__/Home.test.js.snap +++ b/web/cashtab/src/components/Home/__tests__/__snapshots__/Home.test.js.snap @@ -3,15 +3,15 @@ exports[`Wallet with BCH balances 1`] = ` Array [

MigrationTestAlpha

0 @@ -19,26 +19,26 @@
,