aboutsummaryrefslogtreecommitdiffstats
path: root/packages/instant/src/components/instant_heading.tsx
diff options
context:
space:
mode:
authorSteve Klebanoff <steve@0xproject.com>2018-11-27 08:01:04 +0800
committerGitHub <noreply@github.com>2018-11-27 08:01:04 +0800
commit1b96867df870791d8eca5d8465e22f028df08374 (patch)
tree21ba3aea2f3217c42f5082a89db24ee189ed9e65 /packages/instant/src/components/instant_heading.tsx
parent218c0d9f51f83c05131391b8278e7a2fdc27c9da (diff)
parent5f6a5e28e7d2832f7372a00a7d3a388da6babb17 (diff)
downloaddexon-sol-tools-1b96867df870791d8eca5d8465e22f028df08374.tar.gz
dexon-sol-tools-1b96867df870791d8eca5d8465e22f028df08374.tar.zst
dexon-sol-tools-1b96867df870791d8eca5d8465e22f028df08374.zip
Merge pull request #1294 from 0xProject/feature/header-tweaks
[instant] Header tweaks
Diffstat (limited to 'packages/instant/src/components/instant_heading.tsx')
-rw-r--r--packages/instant/src/components/instant_heading.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/instant/src/components/instant_heading.tsx b/packages/instant/src/components/instant_heading.tsx
index 002695269..ace577824 100644
--- a/packages/instant/src/components/instant_heading.tsx
+++ b/packages/instant/src/components/instant_heading.tsx
@@ -107,7 +107,7 @@ export class InstantHeading extends React.Component<InstantHeadingProps, {}> {
private readonly _renderEthAmount = (): React.ReactNode => {
return (
- <Text fontSize="16px" fontColor={ColorOption.white} fontWeight={500}>
+ <Text fontSize="16px" textAlign="right" width="100%" fontColor={ColorOption.white} fontWeight={500}>
{format.ethBaseUnitAmount(
this.props.totalEthBaseUnitAmount,
4,
@@ -119,7 +119,7 @@ export class InstantHeading extends React.Component<InstantHeadingProps, {}> {
private readonly _renderDollarAmount = (): React.ReactNode => {
return (
- <Text fontSize="16px" fontColor={ColorOption.white}>
+ <Text fontSize="16px" textAlign="right" width="100%" fontColor={ColorOption.white}>
{format.ethBaseUnitAmountInUsd(
this.props.totalEthBaseUnitAmount,
this.props.ethUsdPrice,