aboutsummaryrefslogtreecommitdiffstats
path: root/packages/instant/src/components
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-10-24 08:17:10 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-10-24 08:17:10 +0800
commit2e184f081e546acbc8ed3e5e05de5a9e5b56a3d8 (patch)
treedf26555906c5b24452b3662aa97f82f90094b179 /packages/instant/src/components
parent8e501e5ec715da17e3319870dbde3cca87940416 (diff)
downloaddexon-sol-tools-2e184f081e546acbc8ed3e5e05de5a9e5b56a3d8.tar
dexon-sol-tools-2e184f081e546acbc8ed3e5e05de5a9e5b56a3d8.tar.gz
dexon-sol-tools-2e184f081e546acbc8ed3e5e05de5a9e5b56a3d8.tar.bz2
dexon-sol-tools-2e184f081e546acbc8ed3e5e05de5a9e5b56a3d8.tar.lz
dexon-sol-tools-2e184f081e546acbc8ed3e5e05de5a9e5b56a3d8.tar.xz
dexon-sol-tools-2e184f081e546acbc8ed3e5e05de5a9e5b56a3d8.tar.zst
dexon-sol-tools-2e184f081e546acbc8ed3e5e05de5a9e5b56a3d8.zip
feat: add title attribute to label
Diffstat (limited to 'packages/instant/src/components')
-rw-r--r--packages/instant/src/components/asset_amount_input.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/instant/src/components/asset_amount_input.tsx b/packages/instant/src/components/asset_amount_input.tsx
index 8cbf2b37a..368ef10c2 100644
--- a/packages/instant/src/components/asset_amount_input.tsx
+++ b/packages/instant/src/components/asset_amount_input.tsx
@@ -45,13 +45,13 @@ export class AssetAmountInput extends React.Component<AssetAmountInputProps, Ass
onFontSizeChange={this._handleFontSizeChange}
/>
</Container>
- <Container display="inline-block" marginLeft="10px">
+ <Container display="inline-block" marginLeft="10px" title={assetUtils.bestNameForAsset(asset)}>
<Text
fontSize={`${this.state.currentFontSizePx}px`}
fontColor={ColorOption.white}
textTransform="uppercase"
>
- {assetUtils.bestNameForAsset(asset)}
+ {assetUtils.formattedSymbolForAsset(asset)}
</Text>
</Container>
</Container>