diff options
author | fragosti <francesco.agosti93@gmail.com> | 2018-10-24 08:17:10 +0800 |
---|---|---|
committer | fragosti <francesco.agosti93@gmail.com> | 2018-10-24 08:17:10 +0800 |
commit | 2e184f081e546acbc8ed3e5e05de5a9e5b56a3d8 (patch) | |
tree | df26555906c5b24452b3662aa97f82f90094b179 | |
parent | 8e501e5ec715da17e3319870dbde3cca87940416 (diff) | |
download | dexon-sol-tools-2e184f081e546acbc8ed3e5e05de5a9e5b56a3d8.tar.gz dexon-sol-tools-2e184f081e546acbc8ed3e5e05de5a9e5b56a3d8.tar.zst dexon-sol-tools-2e184f081e546acbc8ed3e5e05de5a9e5b56a3d8.zip |
feat: add title attribute to label
-rw-r--r-- | packages/instant/src/components/asset_amount_input.tsx | 4 |
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> |