aboutsummaryrefslogtreecommitdiffstats
path: root/packages/instant/src/components/scaling_amount_input.tsx
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-10-24 06:19:01 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-10-24 06:19:01 +0800
commit053e147afc1b8471c480a8612cb6bae4c363b21b (patch)
tree1559ed796585a1ed7bf806d2b7de7b45bec7dd1b /packages/instant/src/components/scaling_amount_input.tsx
parentf0c79473bdaeb87f49a9eb59fc88336f02e81546 (diff)
downloaddexon-0x-contracts-053e147afc1b8471c480a8612cb6bae4c363b21b.tar.gz
dexon-0x-contracts-053e147afc1b8471c480a8612cb6bae4c363b21b.tar.zst
dexon-0x-contracts-053e147afc1b8471c480a8612cb6bae4c363b21b.zip
fix: remove the concept of initial with from scaling input and remove phase
Diffstat (limited to 'packages/instant/src/components/scaling_amount_input.tsx')
-rw-r--r--packages/instant/src/components/scaling_amount_input.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/instant/src/components/scaling_amount_input.tsx b/packages/instant/src/components/scaling_amount_input.tsx
index 9539bfd94..2baff5621 100644
--- a/packages/instant/src/components/scaling_amount_input.tsx
+++ b/packages/instant/src/components/scaling_amount_input.tsx
@@ -26,7 +26,6 @@ export class ScalingAmountInput extends React.Component<ScalingAmountInputProps>
const { startWidthCh, endWidthCh, fontColor, maxFontSizePx, value, onFontSizeChange } = this.props;
return (
<ScalingInput
- startWidthCh={startWidthCh}
endWidthCh={endWidthCh}
maxFontSizePx={maxFontSizePx}
onFontSizeChange={onFontSizeChange}
@@ -34,6 +33,7 @@ export class ScalingAmountInput extends React.Component<ScalingAmountInputProps>
onChange={this._handleChange}
value={!_.isUndefined(value) ? value.toString() : ''}
placeholder="0.00"
+ emptyInputWidthCh={3.5}
/>
);
}